Title: [113199] trunk/Source/WebCore
Revision
113199
Author
pfeld...@chromium.org
Date
2012-04-04 09:10:57 -0700 (Wed, 04 Apr 2012)

Log Message

Web Inspector: expose savedURL, setToolbarColors and toggleSearchingForNode in InspectorFrontendAPI
https://bugs.webkit.org/show_bug.cgi?id=83170

Reviewed by Yury Semikhatsky.

Chromium port is calling these from the embedder layer and they all are perfect candidates
for the InspectorFrontendAPI. Adding them there.

* inspector/front-end/InspectorFrontendAPI.js:
(InspectorFrontendAPI.enterInspectElementMode):
(InspectorFrontendAPI.savedURL):
(InspectorFrontendAPI.setToolbarColors):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (113198 => 113199)


--- trunk/Source/WebCore/ChangeLog	2012-04-04 16:03:56 UTC (rev 113198)
+++ trunk/Source/WebCore/ChangeLog	2012-04-04 16:10:57 UTC (rev 113199)
@@ -1,3 +1,18 @@
+2012-04-04  Pavel Feldman  <pfeld...@chromium.org>
+
+        Web Inspector: expose savedURL, setToolbarColors and toggleSearchingForNode in InspectorFrontendAPI
+        https://bugs.webkit.org/show_bug.cgi?id=83170
+
+        Reviewed by Yury Semikhatsky.
+
+        Chromium port is calling these from the embedder layer and they all are perfect candidates
+        for the InspectorFrontendAPI. Adding them there.
+
+        * inspector/front-end/InspectorFrontendAPI.js:
+        (InspectorFrontendAPI.enterInspectElementMode):
+        (InspectorFrontendAPI.savedURL):
+        (InspectorFrontendAPI.setToolbarColors):
+
 2012-04-04  Ilya Tikhonovsky  <loi...@chromium.org>
 
         Web Inspector: linearise aggregate's retaining size calculation.

Modified: trunk/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js (113198 => 113199)


--- trunk/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js	2012-04-04 16:03:56 UTC (rev 113198)
+++ trunk/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js	2012-04-04 16:10:57 UTC (rev 113199)
@@ -100,6 +100,21 @@
         WebInspector.setDockingUnavailable(unavailable);
     },
 
+    enterInspectElementMode: function()
+    {
+        WebInspector.toggleSearchingForNode();
+    },
+
+    savedURL: function(url)
+    {
+        WebInspector.savedURL(url);
+    },
+
+    setToolbarColors: function(backgroundColor, color)
+    {
+        WebInspector.setToolbarColors(backgroundColor, color);
+    },
+
     dispatch: function(signature)
     {
         if (WebInspector.panels) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to