Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 0e461f5fe66bea6ce9e2100f8be57f12f7857368..72689cf18da20c02205f2ef7afc901a926a73e3d 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -681,9 +681,6 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
// 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) |
- |
// The name of the channel with which a guest talks to its embedder. |
// If this newly created RenderView has no embedder this string will be |
// empty. |
@@ -1763,6 +1760,13 @@ IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
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 */, |