diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-11 04:59:37 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-11 04:59:37 +0000 |
commit | 73405fba9bf7634101b236b3cca29448077556dc (patch) | |
tree | 2f5cc97b7589c0ad538eef214383c81f3d2209b8 /content/common | |
parent | 78f9d8b86c7f0c3f340ef2bc66516086845f41af (diff) | |
download | chromium_src-73405fba9bf7634101b236b3cca29448077556dc.zip chromium_src-73405fba9bf7634101b236b3cca29448077556dc.tar.gz chromium_src-73405fba9bf7634101b236b3cca29448077556dc.tar.bz2 |
<webview>: Implement CopyFromCompositingSurface() for guests in <webview>
BUG=326756
R=alexst@chromium.org, fsamuel@chromium.org, kenrb@chromium.org
Review URL: https://codereview.chromium.org/99143004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/browser_plugin/browser_plugin_messages.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h index 3fc331c..4d2c477 100644 --- a/content/common/browser_plugin/browser_plugin_messages.h +++ b/content/common/browser_plugin/browser_plugin_messages.h @@ -21,6 +21,7 @@ #include "ipc/ipc_channel_handle.h" #include "ipc/ipc_message_macros.h" #include "ipc/ipc_message_utils.h" +#include "third_party/skia/include/core/SkBitmap.h" #include "third_party/WebKit/public/web/WebDragOperation.h" #include "third_party/WebKit/public/web/WebDragStatus.h" #include "ui/gfx/point.h" @@ -212,6 +213,11 @@ IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_BuffersSwappedACK, std::string /* mailbox_name */, uint32 /* sync_point */) +IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_CopyFromCompositingSurfaceAck, + int /* instance_id */, + int /* request_id */, + SkBitmap); + // Acknowledge that we presented an ubercomp frame. IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_CompositorFrameACK, int /* instance_id */, @@ -338,6 +344,12 @@ IPC_MESSAGE_CONTROL2(BrowserPluginMsg_UpdateRect, int /* instance_id */, BrowserPluginMsg_UpdateRect_Params) +IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CopyFromCompositingSurface, + int /* instance_id */, + int /* request_id */, + gfx::Rect /* source_rect */, + gfx::Size /* dest_size */) + // Requests the renderer to find out if a browser plugin is at position // (|x|, |y|) within the embedder. // The response message is BrowserPluginHostMsg_PluginAtPositionResponse. |