< prev index next >

modules/web/src/test/java/javafx/scene/web/WebEngineShim.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -22,10 +22,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 package javafx.scene.web;
 
+import com.sun.javafx.scene.web.Debugger;
 import com.sun.webkit.WebPage;
 
 public class WebEngineShim {
 
     public static WebPage getPage(WebEngine e) {

@@ -34,6 +35,9 @@
 
     public static void dispose(WebEngine e) {
         e.dispose();
     }
 
+    public static Debugger getDebugger(WebEngine e) {
+        return e.getDebugger();
+    }
 }
< prev index next >