Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index ed0cf62b88434db5495b2057be34758bd697fba2..2edc2130ee741206c83d9dc6e63009b9ef5222de 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1668,6 +1668,13 @@ IPC_STRUCT_END() |
IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginPinch, |
ViewHostMsg_BeginPinch_Params /* params */) |
+// Sent to make host accept image of a certain expected size instead of current |
+// view size. This is essential to emulate screen 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, |
aelias_OOO_until_Jul13
2013/09/27 22:51:14
Hmm, this SetExpectedSize thing still feels wrong.
dgozman
2013/10/01 06:22:16
This works when setting childrenTransform instead
|
+ gfx::Size /* size */) |
+ |
IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |