summaryrefslogtreecommitdiffstats
path: root/extensions/common/guest_view
diff options
context:
space:
mode:
authorpaulmeyer <paulmeyer@chromium.org>2015-02-24 11:15:10 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-24 19:16:05 +0000
commit9ef6e446e6621ea47df1eebabae2747fdf4a2290 (patch)
tree176e9ddf635992af875edee8f28ed03783eeb982 /extensions/common/guest_view
parent355ef6861a0af7fdf163615abe04bd00cd640f1e (diff)
downloadchromium_src-9ef6e446e6621ea47df1eebabae2747fdf4a2290.zip
chromium_src-9ef6e446e6621ea47df1eebabae2747fdf4a2290.tar.gz
chromium_src-9ef6e446e6621ea47df1eebabae2747fdf4a2290.tar.bz2
All guestview sizing now utilizes the new sizing infrastructure from https://codereview.chromium.org/856563002/ and https://codereview.chromium.org/857093003/. The existing sizing code in BrowserPluginGuest was removed, which allowed for a large amount of plumbing that went into and out of BrowserPluginGuest to be removed as well.
BUG=434226 TBR=rockot@chromium.org Review URL: https://codereview.chromium.org/889303003 Cr-Commit-Position: refs/heads/master@{#317849}
Diffstat (limited to 'extensions/common/guest_view')
-rw-r--r--extensions/common/guest_view/guest_view_messages.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/common/guest_view/guest_view_messages.h b/extensions/common/guest_view/guest_view_messages.h
index ac10c60..0ac6704 100644
--- a/extensions/common/guest_view/guest_view_messages.h
+++ b/extensions/common/guest_view/guest_view_messages.h
@@ -53,3 +53,9 @@ IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest,
std::string /* view_id */,
int /* element_instance_id */,
gfx::Size /* element_size */)
+
+// A renderer sends this message when it wants to resize a guest.
+IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest,
+ int /* routing_id */,
+ int /* element_instance_id*/,
+ gfx::Size /* new_size */)