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

Unified Diff: content/common/browser_plugin_messages.h

Issue 11360106: Browser Plugin: Implement AutoSize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed nits + added tests Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/common/browser_plugin_messages.h
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h
index 432c1a150d741d1d37b44527be92128c27bd9f8e..eb765c41d77f818470e0413ae6fb909df6cf37df 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -31,10 +31,8 @@ IPC_ENUM_TRAITS(WebKit::WebDragStatus)
IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params)
IPC_STRUCT_MEMBER(bool, enable)
- IPC_STRUCT_MEMBER(int, max_height)
- IPC_STRUCT_MEMBER(int, max_width)
- IPC_STRUCT_MEMBER(int, min_height)
- IPC_STRUCT_MEMBER(int, min_width)
+ IPC_STRUCT_MEMBER(gfx::Size, max_size)
+ IPC_STRUCT_MEMBER(gfx::Size, min_size)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(BrowserPluginHostMsg_CreateGuest_Params)
@@ -126,9 +124,11 @@ IPC_STRUCT_END()
// This message is sent to the browser process to enable or disable autosize
// mode.
-IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetAutoSize,
- int /* instance_id */,
- BrowserPluginHostMsg_AutoSize_Params)
+IPC_SYNC_MESSAGE_ROUTED3_0(
+ BrowserPluginHostMsg_SetAutoSize,
+ int /* instance_id */,
+ BrowserPluginHostMsg_AutoSize_Params /* auto_size_params */,
+ BrowserPluginHostMsg_ResizeGuest_Params /* resize_guest_params */)
// This message is sent to the browser process to create the browser plugin

Powered by Google App Engine
This is Rietveld 408576698