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

Side by Side Diff: content/common/browser_plugin_messages.h

Issue 11035067: Add loadCommit and loadStop Event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add LoadStop and LoadCommit Test Created 8 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 // When the guest redirects a navigation, the browser process informs the 150 // When the guest redirects a navigation, the browser process informs the
151 // embedder through the BrowserPluginMsg_LoadRedirect message. 151 // embedder through the BrowserPluginMsg_LoadRedirect message.
152 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect, 152 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect,
153 int /* instance_id */, 153 int /* instance_id */,
154 GURL /* old_url */, 154 GURL /* old_url */,
155 GURL /* new_url */, 155 GURL /* new_url */,
156 bool /* is_top_level */) 156 bool /* is_top_level */)
157 157
158 // When the guest navigates, the browser process informs the embedder through 158 // When the guest navigates, the browser process informs the embedder through
159 // the BrowserPluginMsg_DidNavigate message. 159 // the BrowserPluginMsg_LoadStop message.
160 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, 160 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_LoadStop,
161 int /* instance_id */)
162
163 // When all the guest pages have completed, the browser process informs
Charlie Reis 2012/10/08 19:03:39 These comments are backwards.
irobert 2012/10/10 23:55:16 Done.
164 // the embedder through the BrowserPluginMsg_DidCommit message.
165 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadCommit,
161 int /* instance_id */, 166 int /* instance_id */,
162 GURL /* url */, 167 GURL /* url */,
163 int /* process_id */) 168 int /* process_id */,
169 bool /* is_main_frame */)
164 170
165 // When the guest crashes, the browser process informs the embedder through this 171 // When the guest crashes, the browser process informs the embedder through this
166 // message. 172 // message.
167 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, 173 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed,
168 int /* instance_id */) 174 int /* instance_id */)
169 175
170 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) 176 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params)
171 // The position and size of the bitmap. 177 // The position and size of the bitmap.
172 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) 178 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect)
173 179
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, 219 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents,
214 int /* instance_id */, 220 int /* instance_id */,
215 bool /* accept */) 221 bool /* accept */)
216 222
217 // The guest has damage it wants to convey to the embedder so that it can 223 // The guest has damage it wants to convey to the embedder so that it can
218 // update its backing store. 224 // update its backing store.
219 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, 225 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
220 int /* instance_id */, 226 int /* instance_id */,
221 int /* message_id */, 227 int /* message_id */,
222 BrowserPluginMsg_UpdateRect_Params) 228 BrowserPluginMsg_UpdateRect_Params)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698