From 8a5e0ca85f7bfc59b12ba0e410738088f3f8a2bd Mon Sep 17 00:00:00 2001 From: "koz@chromium.org" Date: Thu, 25 Aug 2011 06:30:47 +0000 Subject: Fullscreen JS API implementation. BUG= TEST= Review URL: http://codereview.chromium.org/7461059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98193 0039d316-1c4b-4281-b951-d872f2087c98 --- content/common/view_messages.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content/common') diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 7c81a07..2a7a839 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -1244,6 +1244,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 @@ -2053,6 +2056,11 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, std::string, /* key */ std::string /* value */) +// Puts the browser into "tab fullscreen" mode for the sending renderer. +// See the comment in chrome/browser/ui/browser.h for more details. +IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, + bool /* enter_fullscreen */) + // Send back a string to be recorded by UserMetrics. IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, std::string /* action */) -- cgit v1.1