https://bugs.webkit.org/show_bug.cgi?id=68235
Patch by Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> on 2011-09-29
Reviewed by Martin Robinson.
* MiniBrowser/gtk/BrowserWindow.c:
(browserWindowConstructed): Set the developer extra flags to true to enable inspect element.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96334
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-09-29 Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com>
+
+ 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 <abarth@webkit.org>
Unbreak the "update expectatations" button by using the existing
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)