diff options
author | alexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 17:49:48 +0000 |
---|---|---|
committer | alexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 17:49:48 +0000 |
commit | a545140260c98ceb63d5aee6269991dbda792f89 (patch) | |
tree | d4506b0f60d1bdb3b741b984e4d48d5ea504f99a /content/common/browser_plugin | |
parent | a52e5570d231fa588fa9ac01b899a1d417713e19 (diff) | |
download | chromium_src-a545140260c98ceb63d5aee6269991dbda792f89.zip chromium_src-a545140260c98ceb63d5aee6269991dbda792f89.tar.gz chromium_src-a545140260c98ceb63d5aee6269991dbda792f89.tar.bz2 |
Plumb damage rect to the embedder to enable partial swap.
BUG=223683
Review URL: https://chromiumcodereview.appspot.com/18083009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/browser_plugin')
-rw-r--r-- | content/common/browser_plugin/browser_plugin_messages.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h index e59a6fa6..cb6cc0d 100644 --- a/content/common/browser_plugin/browser_plugin_messages.h +++ b/content/common/browser_plugin/browser_plugin_messages.h @@ -80,6 +80,14 @@ IPC_STRUCT_BEGIN(BrowserPluginMsg_Attach_ACK_Params) IPC_STRUCT_MEMBER(std::string, name) IPC_STRUCT_END() +IPC_STRUCT_BEGIN(BrowserPluginMsg_BuffersSwapped_Params) + IPC_STRUCT_MEMBER(gfx::Size, size) + IPC_STRUCT_MEMBER(gfx::Rect, damage_rect) + IPC_STRUCT_MEMBER(std::string, mailbox_name) + IPC_STRUCT_MEMBER(int, route_id) + IPC_STRUCT_MEMBER(int, host_id) +IPC_STRUCT_END() + IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params) // The current URL of the guest. IPC_STRUCT_MEMBER(GURL, url) @@ -414,12 +422,9 @@ IPC_MESSAGE_CONTROL2(BrowserPluginMsg_UpdatedName, // When HW accelerated buffers are swapped in the guest, the message // is forwarded to the embedder to notify it of a new texture // available for compositing. -IPC_MESSAGE_CONTROL5(BrowserPluginMsg_BuffersSwapped, +IPC_MESSAGE_CONTROL2(BrowserPluginMsg_BuffersSwapped, int /* instance_id */, - gfx::Size /* size */, - std::string /* mailbox_name */, - int /* route_id */, - int /* gpu_host_id */) + BrowserPluginMsg_BuffersSwapped_Params) IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CompositorFrameSwapped, int /* instance_id */, |