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

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

Issue 10073023: TabContents -> WebContentsImpl, part 14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « content/common/npobject_util.h ('k') | content/public/browser/devtools_client_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) 1164 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount)
1165 1165
1166 // Used to instruct the RenderView to go into "view source" mode. 1166 // Used to instruct the RenderView to go into "view source" mode.
1167 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) 1167 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
1168 1168
1169 // Instructs the renderer to save the current page to MHTML. 1169 // Instructs the renderer to save the current page to MHTML.
1170 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, 1170 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
1171 int /* job_id */, 1171 int /* job_id */,
1172 IPC::PlatformFileForTransit /* file handle */) 1172 IPC::PlatformFileForTransit /* file handle */)
1173 1173
1174 // Temporary message to diagnose an unexpected condition in TabContents. 1174 // Temporary message to diagnose an unexpected condition in WebContentsImpl.
1175 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, 1175 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
1176 GURL /* data */) 1176 GURL /* data */)
1177 1177
1178 // Enable or disable inverting of web content pixels, for users who prefer 1178 // Enable or disable inverting of web content pixels, for users who prefer
1179 // white-on-black. 1179 // white-on-black.
1180 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, 1180 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent,
1181 bool /* invert */) 1181 bool /* invert */)
1182 1182
1183 // ----------------------------------------------------------------------------- 1183 // -----------------------------------------------------------------------------
1184 // Messages sent from the renderer to the browser. 1184 // Messages sent from the renderer to the browser.
1185 1185
1186 // Sent by the renderer when it is creating a new window. The browser creates 1186 // Sent by the renderer when it is creating a new window. The browser creates
1187 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1187 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1188 // MSG_ROUTING_NONE, the view couldn't be created. 1188 // MSG_ROUTING_NONE, the view couldn't be created.
1189 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, 1189 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
1190 ViewHostMsg_CreateWindow_Params, 1190 ViewHostMsg_CreateWindow_Params,
1191 int /* route_id */, 1191 int /* route_id */,
1192 int32 /* surface_id */, 1192 int32 /* surface_id */,
1193 int64 /* cloned_session_storage_namespace_id */) 1193 int64 /* cloned_session_storage_namespace_id */)
1194 1194
1195 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like 1195 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like
1196 // <select> dropdowns. This message is sent to the TabContents that 1196 // <select> dropdowns. This message is sent to the WebContentsImpl that
1197 // contains the widget being created. 1197 // contains the widget being created.
1198 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget, 1198 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget,
1199 int /* opener_id */, 1199 int /* opener_id */,
1200 WebKit::WebPopupType /* popup type */, 1200 WebKit::WebPopupType /* popup type */,
1201 int /* route_id */, 1201 int /* route_id */,
1202 int32 /* surface_id */) 1202 int32 /* surface_id */)
1203 1203
1204 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen 1204 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen
1205 // window. 1205 // window.
1206 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget, 1206 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget,
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 int /* automation_id */) 2005 int /* automation_id */)
2006 2006
2007 // Sent to the browser when the renderer detects it is blocked on a pepper 2007 // Sent to the browser when the renderer detects it is blocked on a pepper
2008 // plugin message for too long. This is also sent when it becomes unhung 2008 // plugin message for too long. This is also sent when it becomes unhung
2009 // (according to the value of is_hung). The browser can give the user the 2009 // (according to the value of is_hung). The browser can give the user the
2010 // option of killing the plugin. 2010 // option of killing the plugin.
2011 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2011 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2012 int /* plugin_child_id */, 2012 int /* plugin_child_id */,
2013 FilePath /* path */, 2013 FilePath /* path */,
2014 bool /* is_hung */) 2014 bool /* is_hung */)
OLDNEW
« no previous file with comments | « content/common/npobject_util.h ('k') | content/public/browser/devtools_client_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698