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

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

Issue 10829225: Browser Plugin: Add HTML5-like postMessage support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT. Addressed creis@'s comments 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // A embedder sends this message to the browser when it wants 142 // A embedder sends this message to the browser when it wants
143 // to resize a guest plugin container so that the guest is relaid out 143 // to resize a guest plugin container so that the guest is relaid out
144 // according to the new size. 144 // according to the new size.
145 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, 145 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest,
146 int /* instance_id*/, 146 int /* instance_id*/,
147 BrowserPluginHostMsg_ResizeGuest_Params) 147 BrowserPluginHostMsg_ResizeGuest_Params)
148 148
149 // ----------------------------------------------------------------------------- 149 // -----------------------------------------------------------------------------
150 // These messages are from the browser process to the embedder. 150 // These messages are from the browser process to the embedder.
151 151
152 // Once the swapped out guest RenderView has been created in the embedder render
153 // process, the browser process informs the embedder of its routing ID.
154 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady,
155 int /* instance_id */,
156 int /* source_routing_id */)
157
152 // When the guest begins to load a page, the browser process informs the 158 // When the guest begins to load a page, the browser process informs the
153 // embedder through the BrowserPluginMsg_LoadStart message. 159 // embedder through the BrowserPluginMsg_LoadStart message.
154 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, 160 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart,
155 int /* instance_id */, 161 int /* instance_id */,
156 GURL /* url */, 162 GURL /* url */,
157 bool /* is_top_level */) 163 bool /* is_top_level */)
158 164
159 // If the guest fails to commit a page load then it will inform the 165 // If the guest fails to commit a page load then it will inform the
160 // embedder through the BrowserPluginMsg_LoadAbort. A description 166 // embedder through the BrowserPluginMsg_LoadAbort. A description
161 // of the error will be stored in |type|. The list of known error 167 // of the error will be stored in |type|. The list of known error
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, 252 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents,
247 int /* instance_id */, 253 int /* instance_id */,
248 bool /* accept */) 254 bool /* accept */)
249 255
250 // The guest has damage it wants to convey to the embedder so that it can 256 // The guest has damage it wants to convey to the embedder so that it can
251 // update its backing store. 257 // update its backing store.
252 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, 258 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
253 int /* instance_id */, 259 int /* instance_id */,
254 int /* message_id */, 260 int /* message_id */,
255 BrowserPluginMsg_UpdateRect_Params) 261 BrowserPluginMsg_UpdateRect_Params)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698