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

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

Issue 690263003: <webview>: Remove broken captureVisibleRegion code until feature is properly supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, 109 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus,
110 int /* browser_plugin_instance_id */, 110 int /* browser_plugin_instance_id */,
111 bool /* enable */) 111 bool /* enable */)
112 112
113 // Sends an input event to the guest. 113 // Sends an input event to the guest.
114 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_HandleInputEvent, 114 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_HandleInputEvent,
115 int /* browser_plugin_instance_id */, 115 int /* browser_plugin_instance_id */,
116 gfx::Rect /* guest_window_rect */, 116 gfx::Rect /* guest_window_rect */,
117 IPC::WebInputEventPointer /* event */) 117 IPC::WebInputEventPointer /* event */)
118 118
119 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_CopyFromCompositingSurfaceAck,
120 int /* browser_plugin_instance_id */,
121 int /* request_id */,
122 SkBitmap)
123
124 // Notify the guest renderer that some resources given to the embededer 119 // Notify the guest renderer that some resources given to the embededer
125 // are not used any more. 120 // are not used any more.
126 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ReclaimCompositorResources, 121 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ReclaimCompositorResources,
127 int /* browser_plugin_instance_id */, 122 int /* browser_plugin_instance_id */,
128 FrameHostMsg_ReclaimCompositorResources_Params /* params */) 123 FrameHostMsg_ReclaimCompositorResources_Params /* params */)
129 124
130 // Tells the guest it has been shown or hidden. 125 // Tells the guest it has been shown or hidden.
131 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, 126 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility,
132 int /* browser_plugin_instance_id */, 127 int /* browser_plugin_instance_id */,
133 bool /* visible */) 128 bool /* visible */)
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // Tells the guest to change its background opacity. 187 // Tells the guest to change its background opacity.
193 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetContentsOpaque, 188 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetContentsOpaque,
194 int /* browser_plugin_instance_id */, 189 int /* browser_plugin_instance_id */,
195 bool /* opaque */) 190 bool /* opaque */)
196 191
197 // Inform the embedder of the cursor the guest wishes to display. 192 // Inform the embedder of the cursor the guest wishes to display.
198 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor, 193 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor,
199 int /* browser_plugin_instance_id */, 194 int /* browser_plugin_instance_id */,
200 content::WebCursor /* cursor */) 195 content::WebCursor /* cursor */)
201 196
202 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CopyFromCompositingSurface,
203 int /* browser_plugin_instance_id */,
204 int /* request_id */,
205 gfx::Rect /* source_rect */,
206 gfx::Size /* dest_size */)
207
208 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_CompositorFrameSwapped, 197 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_CompositorFrameSwapped,
209 int /* browser_plugin_instance_id */, 198 int /* browser_plugin_instance_id */,
210 FrameMsg_CompositorFrameSwapped_Params /* params */) 199 FrameMsg_CompositorFrameSwapped_Params /* params */)
211 200
212 // Forwards a PointerLock Unlock request to the BrowserPlugin. 201 // Forwards a PointerLock Unlock request to the BrowserPlugin.
213 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, 202 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
214 int /* browser_plugin_instance_id */, 203 int /* browser_plugin_instance_id */,
215 bool /* enable */) 204 bool /* enable */)
216 205
217 // Sends text to be displayed in tooltip. 206 // Sends text to be displayed in tooltip.
218 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, 207 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText,
219 int /* browser_plugin_instance_id */, 208 int /* browser_plugin_instance_id */,
220 base::string16 /* tooltip_text */) 209 base::string16 /* tooltip_text */)
221 210
222 // Acknowledge that we presented an ubercomp frame. 211 // Acknowledge that we presented an ubercomp frame.
223 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, 212 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK,
224 int /* browser_plugin_instance_id */, 213 int /* browser_plugin_instance_id */,
225 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 214 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698