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

Side by Side Diff: content/common/view_messages.h

Issue 7461059: Fullscreen JS API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add test 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS) 1231 IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS)
1232 1232
1233 // Used to instruct the RenderView to go into "view source" mode. 1233 // Used to instruct the RenderView to go into "view source" mode.
1234 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) 1234 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
1235 1235
1236 // Instructs the renderer to save the current page to MHTML. 1236 // Instructs the renderer to save the current page to MHTML.
1237 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, 1237 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
1238 int /* job_id */, 1238 int /* job_id */,
1239 IPC::PlatformFileForTransit /* file handle */) 1239 IPC::PlatformFileForTransit /* file handle */)
1240 1240
1241 // Exit fullscreen.
1242 IPC_MESSAGE_ROUTED0(ViewMsg_ExitFullscreen)
1243
1241 // Messages sent from the renderer to the browser. 1244 // Messages sent from the renderer to the browser.
1242 1245
1243 // Sent by the renderer when it is creating a new window. The browser creates 1246 // Sent by the renderer when it is creating a new window. The browser creates
1244 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1247 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1245 // MSG_ROUTING_NONE, the view couldn't be created. 1248 // MSG_ROUTING_NONE, the view couldn't be created.
1246 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, 1249 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow,
1247 ViewHostMsg_CreateWindow_Params, 1250 ViewHostMsg_CreateWindow_Params,
1248 int /* route_id */, 1251 int /* route_id */,
1249 int64 /* cloned_session_storage_namespace_id */) 1252 int64 /* cloned_session_storage_namespace_id */)
1250 1253
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
2043 string16 /* type */, 2046 string16 /* type */,
2044 string16 /* payload data */, 2047 string16 /* payload data */,
2045 int /* intent ID */) 2048 int /* intent ID */)
2046 2049
2047 // Stores new inspector setting in the profile. 2050 // Stores new inspector setting in the profile.
2048 // TODO(jam): this should be in the chrome module 2051 // TODO(jam): this should be in the chrome module
2049 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 2052 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
2050 std::string, /* key */ 2053 std::string, /* key */
2051 std::string /* value */) 2054 std::string /* value */)
2052 2055
2056 // Puts the browser into "tab fullscreen" mode for the sending renderer.
2057 // See the comment in chrome/browser/ui/browser.h for more details.
2058 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen,
2059 bool /* enter_fullscreen */)
2060
2053 // Send back a string to be recorded by UserMetrics. 2061 // Send back a string to be recorded by UserMetrics.
2054 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 2062 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
2055 std::string /* action */) 2063 std::string /* action */)
2056 2064
2057 // Provide the browser process with current renderer framerate. 2065 // Provide the browser process with current renderer framerate.
2058 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, 2066 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS,
2059 int /* routing id */, 2067 int /* routing id */,
2060 float /* frames per second */) 2068 float /* frames per second */)
2061 2069
2062 // Notifies the browser that the page was or was not saved as MHTML. 2070 // Notifies the browser that the page was or was not saved as MHTML.
(...skipping 12 matching lines...) Expand all
2075 int32 /* complete status */) 2083 int32 /* complete status */)
2076 2084
2077 // Request updated information about the client firewall traversal policy. 2085 // Request updated information about the client firewall traversal policy.
2078 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2086 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2079 // being sent back. 2087 // being sent back.
2080 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2088 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2081 2089
2082 // Notifies the browser of an event occurring in the media pipeline. 2090 // Notifies the browser of an event occurring in the media pipeline.
2083 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 2091 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2084 media::MediaLogEvent /* event */) 2092 media::MediaLogEvent /* event */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698