Changeset 96334 in webkit


Ignore:
Timestamp:
Sep 29, 2011 9:32:49 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Initial implementation of WebInspector for WebKit2 GTK port.
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r96329 r96334  
     12011-09-29  Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>
     2
     3        Initial implementation of WebInspector for WebKit2 GTK port.
     4        https://bugs.webkit.org/show_bug.cgi?id=68235
     5
     6        Reviewed by Martin Robinson.
     7
     8        * MiniBrowser/gtk/BrowserWindow.c:
     9        (browserWindowConstructed): Set the developer extra flags to true to enable inspect element.
     10
    1112011-09-29  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Tools/MiniBrowser/gtk/BrowserWindow.c

    r95999 r96334  
    186186    browserWindowUIClientInit(window);
    187187    browserWindowPolicyClientInit(window);
     188
     189    WKPageGroupRef groupRef = WKPageGetPageGroup(WKViewGetPage(window->webView));
     190    WKPreferencesRef preferencesRef = WKPageGroupGetPreferences(groupRef);
     191    WKPreferencesSetDeveloperExtrasEnabled(preferencesRef, true);
    188192}
    189193
Note: See TracChangeset for help on using the changeset viewer.