summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 06:30:47 +0000
committerkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 06:30:47 +0000
commit8a5e0ca85f7bfc59b12ba0e410738088f3f8a2bd (patch)
treebe5b7ff94ffba83a72b9d9a85db9119334928c07 /content/common
parent43e92dd49721fb81923372530d2efa55cccf2374 (diff)
downloadchromium_src-8a5e0ca85f7bfc59b12ba0e410738088f3f8a2bd.zip
chromium_src-8a5e0ca85f7bfc59b12ba0e410738088f3f8a2bd.tar.gz
chromium_src-8a5e0ca85f7bfc59b12ba0e410738088f3f8a2bd.tar.bz2
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
Diffstat (limited to 'content/common')
-rw-r--r--content/common/view_messages.h8
1 files changed, 8 insertions, 0 deletions
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 */)