Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: content/common/frame_messages.h

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang erro Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 03471701ca785efa756754b416d694cd7ff40c2a..3cfac07ccb8adaa46b5e8ed76a995fe89eebe594 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -357,6 +357,15 @@ IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading)
// notion of the throbber stopping.
IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
+// Following message is used to communicate the values received by the
+// callback binding the JS to Cpp.
+// An instance of browser that has an automation host listening to it can
+// have a javascript send a native value (string, number, boolean) to the
+// listener in Cpp. (DomAutomationController)
+IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
+ std::string /* json_string */,
+ int /* automation_id */)
+
// Sent to the browser when the renderer detects it is blocked on a pepper
// plugin message for too long. This is also sent when it becomes unhung
// (according to the value of is_hung). The browser can give the user the

Powered by Google App Engine
This is Rietveld 408576698