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

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: respond to comments 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 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS) 1193 IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS)
1194 1194
1195 // Used to instruct the RenderView to go into "view source" mode. 1195 // Used to instruct the RenderView to go into "view source" mode.
1196 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) 1196 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
1197 1197
1198 // Instructs the renderer to save the current page to MHTML. 1198 // Instructs the renderer to save the current page to MHTML.
1199 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, 1199 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
1200 int /* job_id */, 1200 int /* job_id */,
1201 IPC::PlatformFileForTransit /* file handle */) 1201 IPC::PlatformFileForTransit /* file handle */)
1202 1202
1203 // Exit fullscreen.
1204 IPC_MESSAGE_ROUTED0(ViewMsg_ExitFullscreen)
1205
1203 // Messages sent from the renderer to the browser. 1206 // Messages sent from the renderer to the browser.
1204 1207
1205 // Sent by the renderer when it is creating a new window. The browser creates 1208 // Sent by the renderer when it is creating a new window. The browser creates
1206 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1209 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1207 // MSG_ROUTING_NONE, the view couldn't be created. 1210 // MSG_ROUTING_NONE, the view couldn't be created.
1208 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, 1211 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow,
1209 ViewHostMsg_CreateWindow_Params, 1212 ViewHostMsg_CreateWindow_Params,
1210 int /* route_id */, 1213 int /* route_id */,
1211 int64 /* cloned_session_storage_namespace_id */) 1214 int64 /* cloned_session_storage_namespace_id */)
1212 1215
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 std::string /* scheme */, 1956 std::string /* scheme */,
1954 GURL /* url */, 1957 GURL /* url */,
1955 string16 /* title */) 1958 string16 /* title */)
1956 1959
1957 // Stores new inspector setting in the profile. 1960 // Stores new inspector setting in the profile.
1958 // TODO(jam): this should be in the chrome module 1961 // TODO(jam): this should be in the chrome module
1959 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1962 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1960 std::string, /* key */ 1963 std::string, /* key */
1961 std::string /* value */) 1964 std::string /* value */)
1962 1965
1966 // Puts the browser into fullscreen mode.
Peter Kasting 2011/08/15 22:42:54 Nit: Slightly more commentary about tab- versus br
koz (OOO until 15th September) 2011/08/16 07:06:55 Good point. I've extended the comment slightly - I
1967 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen,
1968 bool /* enter_fullscreen */);
1969
1963 // Send back a string to be recorded by UserMetrics. 1970 // Send back a string to be recorded by UserMetrics.
1964 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1971 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1965 std::string /* action */) 1972 std::string /* action */)
1966 1973
1967 // Provide the browser process with current renderer framerate. 1974 // Provide the browser process with current renderer framerate.
1968 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, 1975 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS,
1969 int /* routing id */, 1976 int /* routing id */,
1970 float /* frames per second */) 1977 float /* frames per second */)
1971 1978
1972 // Notifies the browser that the page was or was not saved as MHTML. 1979 // Notifies the browser that the page was or was not saved as MHTML.
1973 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, 1980 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML,
1974 int /* job_id */, 1981 int /* job_id */,
1975 bool /* success */) 1982 bool /* success */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698