Index: content/common/view_messages.h |
=================================================================== |
--- content/common/view_messages.h (revision 141081) |
+++ content/common/view_messages.h (working copy) |
@@ -647,9 +647,6 @@ |
// to a view and are only updated by the renderer after this initial value. |
IPC_STRUCT_MEMBER(int32, next_page_id) |
- // The properties of the screen associated with the view. |
- IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
- |
// Indicates whether this newly created RenderView will be hosted by another |
// RenderView. |
IPC_STRUCT_MEMBER(bool, guest) |
@@ -1709,6 +1706,13 @@ |
uint32 /* font id */) |
#endif |
+// Returns WebScreenInfo corresponding to the view. |
+// TODO(shess): Provide a mapping from reply_msg->routing_id() to |
+// HWND so that we can eliminate the NativeViewId parameter. |
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
+ gfx::NativeViewId /* view */, |
+ WebKit::WebScreenInfo /* results */) |
+ |
// Send the tooltip text for the current mouse position to the browser. |
IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
string16 /* tooltip text string */, |