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

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: No need to rename addEventListener/removeEventListener 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // A embedder sends this message to the browser when it wants 128 // A embedder sends this message to the browser when it wants
129 // to resize a guest plugin container so that the guest is relaid out 129 // to resize a guest plugin container so that the guest is relaid out
130 // according to the new size. 130 // according to the new size.
131 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, 131 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest,
132 int /* instance_id*/, 132 int /* instance_id*/,
133 BrowserPluginHostMsg_ResizeGuest_Params) 133 BrowserPluginHostMsg_ResizeGuest_Params)
134 134
135 // ----------------------------------------------------------------------------- 135 // -----------------------------------------------------------------------------
136 // These messages are from the browser process to the embedder. 136 // These messages are from the browser process to the embedder.
137 137
138 // Once the swapped out guest RenderView has been created in the embedder render
139 // process, the browser process informs the embedder of its routing ID.
140 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady,
141 int /* instance_id */,
142 int /* source_routing_id */)
143
138 // When the guest begins to load a page, the browser process informs the 144 // When the guest begins to load a page, the browser process informs the
139 // embedder through the BrowserPluginMsg_LoadStart message. 145 // embedder through the BrowserPluginMsg_LoadStart message.
140 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, 146 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart,
141 int /* instance_id */, 147 int /* instance_id */,
142 GURL /* url */, 148 GURL /* url */,
143 bool /* is_top_level */) 149 bool /* is_top_level */)
144 150
145 // If the guest fails to commit a page load then it will inform the 151 // If the guest fails to commit a page load then it will inform the
146 // embedder through the BrowserPluginMsg_LoadAbort. A description 152 // embedder through the BrowserPluginMsg_LoadAbort. A description
147 // of the error will be stored in |type|. The list of known error 153 // of the error will be stored in |type|. The list of known error
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, 224 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents,
219 int /* instance_id */, 225 int /* instance_id */,
220 bool /* accept */) 226 bool /* accept */)
221 227
222 // The guest has damage it wants to convey to the embedder so that it can 228 // The guest has damage it wants to convey to the embedder so that it can
223 // update its backing store. 229 // update its backing store.
224 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, 230 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
225 int /* instance_id */, 231 int /* instance_id */,
226 int /* message_id */, 232 int /* message_id */,
227 BrowserPluginMsg_UpdateRect_Params) 233 BrowserPluginMsg_UpdateRect_Params)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698