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

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

Issue 590523003: Remove some dead BrowserPlugin and OOPIF compositing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 6 years, 3 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor, 202 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor,
203 int /* browser_plugin_instance_id */, 203 int /* browser_plugin_instance_id */,
204 content::WebCursor /* cursor */) 204 content::WebCursor /* cursor */)
205 205
206 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CopyFromCompositingSurface, 206 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CopyFromCompositingSurface,
207 int /* browser_plugin_instance_id */, 207 int /* browser_plugin_instance_id */,
208 int /* request_id */, 208 int /* request_id */,
209 gfx::Rect /* source_rect */, 209 gfx::Rect /* source_rect */,
210 gfx::Size /* dest_size */) 210 gfx::Size /* dest_size */)
211 211
212 // Guest renders into an FBO with textures provided by the embedder.
213 // BrowserPlugin shares mostly the same logic as out-of-process RenderFrames but
214 // because BrowserPlugins implement custom a second level of routing logic,
215 // the IPCs need to be annotated with an extra browser_plugin_instance_id. These
216 // messages provide that extra id.
217 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_BuffersSwapped,
218 int /* browser_plugin_instance_id */,
219 FrameMsg_BuffersSwapped_Params /* params */)
220
221 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_CompositorFrameSwapped, 212 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_CompositorFrameSwapped,
222 int /* browser_plugin_instance_id */, 213 int /* browser_plugin_instance_id */,
223 FrameMsg_CompositorFrameSwapped_Params /* params */) 214 FrameMsg_CompositorFrameSwapped_Params /* params */)
224 215
225 // Forwards a PointerLock Unlock request to the BrowserPlugin. 216 // Forwards a PointerLock Unlock request to the BrowserPlugin.
226 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, 217 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
227 int /* browser_plugin_instance_id */, 218 int /* browser_plugin_instance_id */,
228 bool /* enable */) 219 bool /* enable */)
229 220
230 // See comment about BrowserPluginMsg_BuffersSwapped and
231 // BrowserPluginMsg_CompositorFrameSwapped for how these related
232 // to the FrameHostMsg variants.
233 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_BuffersSwappedACK,
234 FrameHostMsg_BuffersSwappedACK_Params /* params */)
235
236 // Acknowledge that we presented an ubercomp frame. 221 // Acknowledge that we presented an ubercomp frame.
237 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, 222 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK,
238 int /* browser_plugin_instance_id */, 223 int /* browser_plugin_instance_id */,
239 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 224 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698