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

Side by Side 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: nasko@ CR feedback 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_param.h" 10 #include "content/common/frame_param.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 // Sent when the renderer starts loading the page. This corresponds to 252 // Sent when the renderer starts loading the page. This corresponds to
253 // Blink's notion of the throbber starting. Note that sometimes you may get 253 // Blink's notion of the throbber starting. Note that sometimes you may get
254 // duplicates of these during a single load. 254 // duplicates of these during a single load.
255 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) 255 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading)
256 256
257 // Sent when the renderer is done loading a page. This corresponds to Blink's 257 // Sent when the renderer is done loading a page. This corresponds to Blink's
258 // notion of the throbber stopping. 258 // notion of the throbber stopping.
259 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) 259 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
260 260
261 // Following message is used to communicate the values received by the
262 // callback binding the JS to Cpp.
263 // An instance of browser that has an automation host listening to it can
264 // have a javascript send a native value (string, number, boolean) to the
265 // listener in Cpp. (DomAutomationController)
266 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
267 std::string /* json_string */,
268 int /* automation_id */)
269
261 // Sent to the browser when the renderer detects it is blocked on a pepper 270 // Sent to the browser when the renderer detects it is blocked on a pepper
262 // plugin message for too long. This is also sent when it becomes unhung 271 // plugin message for too long. This is also sent when it becomes unhung
263 // (according to the value of is_hung). The browser can give the user the 272 // (according to the value of is_hung). The browser can give the user the
264 // option of killing the plugin. 273 // option of killing the plugin.
265 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, 274 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung,
266 int /* plugin_child_id */, 275 int /* plugin_child_id */,
267 base::FilePath /* path */, 276 base::FilePath /* path */,
268 bool /* is_hung */) 277 bool /* is_hung */)
269 278
270 // Sent by the renderer process to indicate that a plugin instance has crashed. 279 // Sent by the renderer process to indicate that a plugin instance has crashed.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // Instructs the frame to swap out for a cross-site transition, including 339 // Instructs the frame to swap out for a cross-site transition, including
331 // running the unload event handler. Expects a SwapOut_ACK message when 340 // running the unload event handler. Expects a SwapOut_ACK message when
332 // finished. 341 // finished.
333 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) 342 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
334 343
335 // Used to tell the parent that the user right clicked on an area of the 344 // Used to tell the parent that the user right clicked on an area of the
336 // content area, and a context menu should be shown for it. The params 345 // content area, and a context menu should be shown for it. The params
337 // object contains information about the node(s) that were selected when the 346 // object contains information about the node(s) that were selected when the
338 // user right clicked. 347 // user right clicked.
339 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 348 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698