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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 6 years, 7 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
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/process.h" 10 #include "base/process/process.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Is this UpdateRect an ACK to a resize request? 91 // Is this UpdateRect an ACK to a resize request?
92 IPC_STRUCT_MEMBER(bool, is_resize_ack) 92 IPC_STRUCT_MEMBER(bool, is_resize_ack)
93 IPC_STRUCT_END() 93 IPC_STRUCT_END()
94 94
95 // Browser plugin messages 95 // Browser plugin messages
96 96
97 // ----------------------------------------------------------------------------- 97 // -----------------------------------------------------------------------------
98 // These messages are from the embedder to the browser process. 98 // These messages are from the embedder to the browser process.
99 99
100 // This message is sent to the browser process to request an instance ID. 100 // This message is sent to the browser process to request an instance ID.
101 // |request_id| is used by BrowserPluginEmbedder to route the response back 101 // |request_id| is used by BrowserPluginEmbedder to route the response back
lazyboy 2014/05/01 20:06:59 Also add why |src| will be needed.
Fady Samuel 2014/05/01 21:05:28 I removed src because it's not yet relevant in thi
102 // to its origin. 102 // to its origin.
103 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_AllocateInstanceID, 103 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_AllocateInstanceID,
104 int /* request_id */) 104 int /* request_id */,
105 std::string /* src */)
105 106
106 // This message is sent from BrowserPlugin to BrowserPluginGuest to issue an 107 // This message is sent from BrowserPlugin to BrowserPluginGuest to issue an
107 // edit command. 108 // edit command.
108 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ExecuteEditCommand, 109 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ExecuteEditCommand,
109 int /* instance_id */, 110 int /* instance_id */,
110 std::string /* command */) 111 std::string /* command */)
111 112
112 // This message must be sent just before sending a key event. 113 // This message must be sent just before sending a key event.
113 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetEditCommandsForNextKeyEvent, 114 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetEditCommandsForNextKeyEvent,
114 int /* instance_id */, 115 int /* instance_id */,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // See comment about BrowserPluginMsg_BuffersSwapped and 322 // See comment about BrowserPluginMsg_BuffersSwapped and
322 // BrowserPluginMsg_CompositorFrameSwapped for how these related 323 // BrowserPluginMsg_CompositorFrameSwapped for how these related
323 // to the FrameHostMsg variants. 324 // to the FrameHostMsg variants.
324 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_BuffersSwappedACK, 325 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_BuffersSwappedACK,
325 FrameHostMsg_BuffersSwappedACK_Params /* params */) 326 FrameHostMsg_BuffersSwappedACK_Params /* params */)
326 327
327 // Acknowledge that we presented an ubercomp frame. 328 // Acknowledge that we presented an ubercomp frame.
328 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, 329 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK,
329 int /* instance_id */, 330 int /* instance_id */,
330 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 331 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698