Title: [96334] trunk/Tools
Revision
96334
Author
[email protected]
Date
2011-09-29 09:32:49 -0700 (Thu, 29 Sep 2011)

Log Message

Initial implementation of WebInspector for WebKit2 GTK port.
https://bugs.webkit.org/show_bug.cgi?id=68235

Patch by Ravi Phaneendra Kasibhatla <[email protected]> on 2011-09-29
Reviewed by Martin Robinson.

* MiniBrowser/gtk/BrowserWindow.c:
(browserWindowConstructed): Set the developer extra flags to true to enable inspect element.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (96333 => 96334)


--- trunk/Tools/ChangeLog	2011-09-29 16:25:46 UTC (rev 96333)
+++ trunk/Tools/ChangeLog	2011-09-29 16:32:49 UTC (rev 96334)
@@ -1,3 +1,13 @@
+2011-09-29  Ravi Phaneendra Kasibhatla  <[email protected]>
+
+        Initial implementation of WebInspector for WebKit2 GTK port.
+        https://bugs.webkit.org/show_bug.cgi?id=68235
+
+        Reviewed by Martin Robinson.
+
+        * MiniBrowser/gtk/BrowserWindow.c:
+        (browserWindowConstructed): Set the developer extra flags to true to enable inspect element.
+
 2011-09-29  Adam Barth  <[email protected]>
 
         Unbreak the "update expectatations" button by using the existing

Modified: trunk/Tools/MiniBrowser/gtk/BrowserWindow.c (96333 => 96334)


--- trunk/Tools/MiniBrowser/gtk/BrowserWindow.c	2011-09-29 16:25:46 UTC (rev 96333)
+++ trunk/Tools/MiniBrowser/gtk/BrowserWindow.c	2011-09-29 16:32:49 UTC (rev 96334)
@@ -185,6 +185,10 @@
     browserWindowLoaderClientInit(window);
     browserWindowUIClientInit(window);
     browserWindowPolicyClientInit(window);
+
+    WKPageGroupRef groupRef = WKPageGetPageGroup(WKViewGetPage(window->webView));
+    WKPreferencesRef preferencesRef = WKPageGroupGetPreferences(groupRef);
+    WKPreferencesSetDeveloperExtrasEnabled(preferencesRef, true);
 }
 
 static void browser_window_class_init(BrowserWindowClass* klass)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to