2009-12-07 Mikhail Naganov <mnaganov@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 15:02:17 +0000 (15:02 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 15:02:17 +0000 (15:02 +0000)
        Reviewed by Pavel Feldman.

        [Chromium] Add declarations for DevTools message dispatching on IO thread
        (see http://codereview.chromium.org/460018)

        https://bugs.webkit.org/show_bug.cgi?id=32217

        * public/WebDevToolsAgent.h:
        * public/WebDevToolsAgentClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/chromium/ChangeLog
WebKit/chromium/public/WebDevToolsAgent.h
WebKit/chromium/public/WebDevToolsAgentClient.h

index 445f9caf8abf45c007e2a7a502688595abd3173b..5797d3e5d4849853cd365c766369d63101f2b24b 100644 (file)
@@ -1,3 +1,15 @@
+2009-12-07  Mikhail Naganov  <mnaganov@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        [Chromium] Add declarations for DevTools message dispatching on IO thread
+        (see http://codereview.chromium.org/460018)
+
+        https://bugs.webkit.org/show_bug.cgi?id=32217
+
+        * public/WebDevToolsAgent.h:
+        * public/WebDevToolsAgentClient.h:
+
 2009-12-04  James Hawkins  <jhawkins@chromium.org>
 
         Reviewed by Darin Fisher.
 2009-12-04  James Hawkins  <jhawkins@chromium.org>
 
         Reviewed by Darin Fisher.
index 327d4458ce5be0fbe83d7c914fd13fb40282af89..8276e0168d5fd91ff8542da2f5457610a5fc4076 100644 (file)
@@ -72,6 +72,12 @@ public:
     // Asynchronously request debugger to pause immediately.
     WEBKIT_API static void debuggerPauseScript();
 
     // Asynchronously request debugger to pause immediately.
     WEBKIT_API static void debuggerPauseScript();
 
+    WEBKIT_API static bool dispatchMessageFromFrontendOnIOThread(const WebString& className,
+                                                                 const WebString& methodName,
+                                                                 const WebString& param1,
+                                                                 const WebString& param2,
+                                                                 const WebString& param3);
+
     typedef void (*MessageLoopDispatchHandler)();
 
     // Installs dispatch handle that is going to be called periodically
     typedef void (*MessageLoopDispatchHandler)();
 
     // Installs dispatch handle that is going to be called periodically
index d3c48c7b4c6257166b72dd6ca28ab70a98c15c01..224eed60a31eacfe89d8a8fefcd470a1b18d5119 100644 (file)
@@ -53,6 +53,12 @@ public:
     // Notifies host upon runtime feature being enabled/disabled.
     virtual void runtimeFeatureStateChanged(const WebString& feature, bool enabled) = 0;
 
     // Notifies host upon runtime feature being enabled/disabled.
     virtual void runtimeFeatureStateChanged(const WebString& feature, bool enabled) = 0;
 
+    WEBKIT_API static void sendMessageToFrontendOnIOThread(const WebString& className,
+                                                           const WebString& methodName,
+                                                           const WebString& param1,
+                                                           const WebString& param2,
+                                                           const WebString& param3);
+
 protected:
     ~WebDevToolsAgentClient() {}
 };
 protected:
     ~WebDevToolsAgentClient() {}
 };