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

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: add notification to interstitialpageimpl 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishDocumentLoad, 168 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishDocumentLoad,
169 int64 /* frame_id */) 169 int64 /* frame_id */)
170 170
171 IPC_MESSAGE_ROUTED5(FrameHostMsg_DidFailLoadWithError, 171 IPC_MESSAGE_ROUTED5(FrameHostMsg_DidFailLoadWithError,
172 int64 /* frame_id */, 172 int64 /* frame_id */,
173 GURL /* validated_url */, 173 GURL /* validated_url */,
174 bool /* is_main_frame */, 174 bool /* is_main_frame */,
175 int /* error_code */, 175 int /* error_code */,
176 base::string16 /* error_description */) 176 base::string16 /* error_description */)
177 177
178 // Following message is used to communicate the values received by the
179 // callback binding the JS to Cpp.
180 // An instance of browser that has an automation host listening to it can
181 // have a javascript send a native value (string, number, boolean) to the
182 // listener in Cpp. (DomAutomationController)
183 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
184 std::string /* json_string */,
185 int /* automation_id */)
186
178 // Sent to the browser when the renderer detects it is blocked on a pepper 187 // Sent to the browser when the renderer detects it is blocked on a pepper
179 // plugin message for too long. This is also sent when it becomes unhung 188 // plugin message for too long. This is also sent when it becomes unhung
180 // (according to the value of is_hung). The browser can give the user the 189 // (according to the value of is_hung). The browser can give the user the
181 // option of killing the plugin. 190 // option of killing the plugin.
182 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, 191 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung,
183 int /* plugin_child_id */, 192 int /* plugin_child_id */,
184 base::FilePath /* path */, 193 base::FilePath /* path */,
185 bool /* is_hung */) 194 bool /* is_hung */)
186 195
187 // Sent by the renderer process to indicate that a plugin instance has crashed. 196 // 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
247 // Instructs the frame to swap out for a cross-site transition, including 256 // Instructs the frame to swap out for a cross-site transition, including
248 // running the unload event handler. Expects a SwapOut_ACK message when 257 // running the unload event handler. Expects a SwapOut_ACK message when
249 // finished. 258 // finished.
250 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) 259 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
251 260
252 // Used to tell the parent that the user right clicked on an area of the 261 // Used to tell the parent that the user right clicked on an area of the
253 // content area, and a context menu should be shown for it. The params 262 // content area, and a context menu should be shown for it. The params
254 // object contains information about the node(s) that were selected when the 263 // object contains information about the node(s) that were selected when the
255 // user right clicked. 264 // user right clicked.
256 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 265 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698