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

Unified Diff: content/common/view_messages.h

Issue 7461059: Fullscreen JS API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make ctrl-tab exit JS fullscreen mode Created 9 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 974f3e86b0a5a705bb864c346edf9f7f3afdd20d..11f8619c3fce14c19553d3b5f662c9d2002d2cc0 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1200,6 +1200,9 @@ IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
int /* job_id */,
IPC::PlatformFileForTransit /* file handle */)
+// Exit fullscreen.
+IPC_MESSAGE_ROUTED0(ViewMsg_ExitFullscreen)
+
// Messages sent from the renderer to the browser.
// Sent by the renderer when it is creating a new window. The browser creates
@@ -1960,6 +1963,12 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
std::string, /* key */
std::string /* value */)
+// Puts the browser into fullscreen mode.
+IPC_MESSAGE_ROUTED0(ViewHostMsg_EnterFullscreen);
+
+// Makes the browser exit fullscreen mode.
+IPC_MESSAGE_ROUTED0(ViewHostMsg_ExitFullscreen);
+
// Send back a string to be recorded by UserMetrics.
IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
std::string /* action */)

Powered by Google App Engine
This is Rietveld 408576698