Index: content/common/view_messages.h |
=================================================================== |
--- content/common/view_messages.h (revision 221161) |
+++ content/common/view_messages.h (working copy) |
@@ -1649,6 +1649,13 @@ |
IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginSmoothScroll, |
ViewHostMsg_BeginSmoothScroll_Params /* params */) |
+// Sent to make host accept image of a certain expected size instead of current |
+// view size. This is essential to emulate device metrics, where render widget |
+// renders only a part of the hosting view. Empty |size| means that default view |
+// size is expected. |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SetExpectedSize, |
+ gfx::Size /* size */) |
+ |
IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |