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

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

Issue 11968054: <webview>: Implement ExecuteScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 7 years, 11 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 resize_guest_params) 62 resize_guest_params)
63 IPC_STRUCT_END() 63 IPC_STRUCT_END()
64 64
65 IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params) 65 IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params)
66 // The current URL of the guest. 66 // The current URL of the guest.
67 IPC_STRUCT_MEMBER(GURL, url) 67 IPC_STRUCT_MEMBER(GURL, url)
68 // Indicates whether the navigation was on the top-level frame. 68 // Indicates whether the navigation was on the top-level frame.
69 IPC_STRUCT_MEMBER(bool, is_top_level) 69 IPC_STRUCT_MEMBER(bool, is_top_level)
70 // Chrome's process ID for the guest. 70 // Chrome's process ID for the guest.
71 IPC_STRUCT_MEMBER(int, process_id) 71 IPC_STRUCT_MEMBER(int, process_id)
72 // Chrome's routing ID for the guest's RenderView.
jam 2013/01/23 22:16:09 nit: here and above, it's more generic to say "the
Fady Samuel 2013/01/23 22:38:01 Done.
73 IPC_STRUCT_MEMBER(int, route_id)
72 // The index of the current navigation entry after this navigation was 74 // The index of the current navigation entry after this navigation was
73 // committed. 75 // committed.
74 IPC_STRUCT_MEMBER(int, current_entry_index) 76 IPC_STRUCT_MEMBER(int, current_entry_index)
75 // The number of navigation entries after this navigation was committed. 77 // The number of navigation entries after this navigation was committed.
76 IPC_STRUCT_MEMBER(int, entry_count) 78 IPC_STRUCT_MEMBER(int, entry_count)
77 IPC_STRUCT_END() 79 IPC_STRUCT_END()
78 80
79 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) 81 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params)
80 // The sequence number of the damage buffer used by the browser process. 82 // The sequence number of the damage buffer used by the browser process.
81 IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id) 83 IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id)
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 278
277 // When the guest redirects a navigation, the browser process informs the 279 // When the guest redirects a navigation, the browser process informs the
278 // embedder through the BrowserPluginMsg_LoadRedirect message. 280 // embedder through the BrowserPluginMsg_LoadRedirect message.
279 IPC_MESSAGE_ROUTED4(BrowserPluginMsg_LoadRedirect, 281 IPC_MESSAGE_ROUTED4(BrowserPluginMsg_LoadRedirect,
280 int /* instance_id */, 282 int /* instance_id */,
281 GURL /* old_url */, 283 GURL /* old_url */,
282 GURL /* new_url */, 284 GURL /* new_url */,
283 bool /* is_top_level */) 285 bool /* is_top_level */)
284 286
285 // When the guest commits a navigation, the browser process informs 287 // When the guest commits a navigation, the browser process informs
286 // the embedder through the BrowserPluginMsg_DidCommit message. 288 // the embedder through the BrowserPluginMsg_LoadCommit message.
287 IPC_MESSAGE_ROUTED2(BrowserPluginMsg_LoadCommit, 289 IPC_MESSAGE_ROUTED2(BrowserPluginMsg_LoadCommit,
288 int /* instance_id */, 290 int /* instance_id */,
289 BrowserPluginMsg_LoadCommit_Params) 291 BrowserPluginMsg_LoadCommit_Params)
290 292
291 // When the guest page has completed loading (including subframes), the browser 293 // When the guest page has completed loading (including subframes), the browser
292 // process informs the embedder through the BrowserPluginMsg_LoadStop message. 294 // process informs the embedder through the BrowserPluginMsg_LoadStop message.
293 IPC_MESSAGE_ROUTED1(BrowserPluginMsg_LoadStop, 295 IPC_MESSAGE_ROUTED1(BrowserPluginMsg_LoadStop,
294 int /* instance_id */) 296 int /* instance_id */)
295 297
296 // When the guest crashes, the browser process informs the embedder through this 298 // When the guest crashes, the browser process informs the embedder through this
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 // Guest renders into an FBO with textures provided by the embedder. 353 // Guest renders into an FBO with textures provided by the embedder.
352 // When HW accelerated buffers are swapped in the guest, the message 354 // When HW accelerated buffers are swapped in the guest, the message
353 // is forwarded to the embedder to notify it of a new texture 355 // is forwarded to the embedder to notify it of a new texture
354 // available for compositing. 356 // available for compositing.
355 IPC_MESSAGE_ROUTED5(BrowserPluginMsg_BuffersSwapped, 357 IPC_MESSAGE_ROUTED5(BrowserPluginMsg_BuffersSwapped,
356 int /* instance_id */, 358 int /* instance_id */,
357 gfx::Size /* size */, 359 gfx::Size /* size */,
358 std::string /* mailbox_name */, 360 std::string /* mailbox_name */,
359 int /* route_id */, 361 int /* route_id */,
360 int /* gpu_host_id */) 362 int /* gpu_host_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698