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

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

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 // hop. 1077 // hop.
1078 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, 1078 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker,
1079 IPC::Message /* message */) 1079 IPC::Message /* message */)
1080 1080
1081 // Tells the browser that a specific Appcache manifest in the current page 1081 // Tells the browser that a specific Appcache manifest in the current page
1082 // was accessed. 1082 // was accessed.
1083 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, 1083 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed,
1084 GURL /* manifest url */, 1084 GURL /* manifest url */,
1085 bool /* blocked by policy */) 1085 bool /* blocked by policy */)
1086 1086
1087 // Initiates a download based on user actions like 'ALT+click'.
1088 IPC_MESSAGE_CONTROL5(ViewHostMsg_DownloadUrl,
1089 int /* render_view_id */,
1090 int /* render_frame_id */,
1091 GURL /* url */,
1092 content::Referrer /* referrer */,
1093 base::string16 /* suggested_name */)
1094
1095 // Used to go to the session history entry at the given offset (ie, -1 will 1087 // Used to go to the session history entry at the given offset (ie, -1 will
1096 // return the "back" item). 1088 // return the "back" item).
1097 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, 1089 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset,
1098 int /* offset (from current) of history item to get */) 1090 int /* offset (from current) of history item to get */)
1099 1091
1100 // Sent from an inactive renderer for the browser to route to the active 1092 // Sent from an inactive renderer for the browser to route to the active
1101 // renderer, instructing it to close. 1093 // renderer, instructing it to close.
1102 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) 1094 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent)
1103 1095
1104 // Notifies that the preferred size of the content changed. 1096 // Notifies that the preferred size of the content changed.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 content::FileChooserParams) 1143 content::FileChooserParams)
1152 1144
1153 // Asks the browser to enumerate a directory. This is equivalent to running 1145 // Asks the browser to enumerate a directory. This is equivalent to running
1154 // the file chooser in directory-enumeration mode and having the user select 1146 // the file chooser in directory-enumeration mode and having the user select
1155 // the given directory. The result is returned in a 1147 // the given directory. The result is returned in a
1156 // ViewMsg_EnumerateDirectoryResponse message. 1148 // ViewMsg_EnumerateDirectoryResponse message.
1157 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, 1149 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory,
1158 int /* request_id */, 1150 int /* request_id */,
1159 base::FilePath /* file_path */) 1151 base::FilePath /* file_path */)
1160 1152
1161 // Asks the browser to save a image (for <canvas> or <img>) from a data URL.
1162 // Note: |data_url| is the contents of a data:URL, and that it's represented as
1163 // a string only to work around size limitations for GURLs in IPC messages.
1164 IPC_MESSAGE_CONTROL3(ViewHostMsg_SaveImageFromDataURL,
1165 int /* render_view_id */,
1166 int /* render_frame_id */,
1167 std::string /* data_url */)
1168
1169 // Tells the browser to move the focus to the next (previous if reverse is 1153 // Tells the browser to move the focus to the next (previous if reverse is
1170 // true) focusable element. 1154 // true) focusable element.
1171 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, 1155 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus,
1172 bool /* reverse */) 1156 bool /* reverse */)
1173 1157
1174 // Required for opening a date/time dialog 1158 // Required for opening a date/time dialog
1175 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, 1159 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog,
1176 ViewHostMsg_DateTimeDialogValue_Params /* value */) 1160 ViewHostMsg_DateTimeDialogValue_Params /* value */)
1177 1161
1178 // Required for updating text input state. 1162 // Required for updating text input state.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 // Instructs the browser to start plugin IME. 1294 // Instructs the browser to start plugin IME.
1311 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) 1295 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
1312 1296
1313 // Receives content of a web page as plain text. 1297 // Receives content of a web page as plain text.
1314 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1298 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1315 #endif 1299 #endif
1316 1300
1317 // Adding a new message? Stick to the sort order above: first platform 1301 // Adding a new message? Stick to the sort order above: first platform
1318 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1302 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1319 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1303 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698