Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: chrome/common/render_messages_internal.h

Issue 3055009: Use RenderWidget(Host) for full screen (Closed)
Patch Set: Add IPC::SyncMessage dependency. Fix auto complete. Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index fb9e939842105afb0ef3e33e2daf897d4d9e674c..8a59d51db2f02e33a1c6ad1965ffdfca3d94d210 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -1022,8 +1022,16 @@ IPC_BEGIN_MESSAGES(ViewHost)
WebKit::WebPopupType /* popup type */,
int /* route_id */)
- // These two messages are sent to the parent RenderViewHost to display the
- // page/widget that was created by CreateWindow/CreateWidget. routing_id
+ // Similar to ViewHostMsg_CreateWidget except the widget is a full screen
+ // window.
+ IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateFullscreenWidget,
+ int /* opener_id */,
+ WebKit::WebPopupType /* popup type */,
+ int /* route_id */)
+
+ // These three messages are sent to the parent RenderViewHost to display the
+ // page/widget that was created by
+ // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id
// refers to the id that was returned from the Create message above.
// The initial_position parameter is a rectangle in screen coordinates.
//
@@ -1039,6 +1047,10 @@ IPC_BEGIN_MESSAGES(ViewHost)
int /* route_id */,
gfx::Rect /* initial_pos */)
+ // Message to show a full screen widget.
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget,
+ int /* route_id */)
+
// Message to show a popup menu using native cocoa controls (Mac only).
IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
ViewHostMsg_ShowPopup_Params)
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698