OLD | NEW |
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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, | 1264 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
1265 IPC::Message /* message */) | 1265 IPC::Message /* message */) |
1266 | 1266 |
1267 // Tells the browser that a specific Appcache manifest in the current page | 1267 // Tells the browser that a specific Appcache manifest in the current page |
1268 // was accessed. | 1268 // was accessed. |
1269 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, | 1269 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
1270 GURL /* manifest url */, | 1270 GURL /* manifest url */, |
1271 bool /* blocked by policy */) | 1271 bool /* blocked by policy */) |
1272 | 1272 |
1273 // Initiates a download based on user actions like 'ALT+click'. | 1273 // Initiates a download based on user actions like 'ALT+click'. |
1274 IPC_MESSAGE_ROUTED4(ViewHostMsg_DownloadUrl, | 1274 IPC_MESSAGE_CONTROL5(ViewHostMsg_DownloadUrl, |
1275 GURL /* url */, | 1275 int /* render_view_id */, |
1276 content::Referrer /* referrer */, | 1276 GURL /* url */, |
1277 base::string16 /* suggested_name */, | 1277 content::Referrer /* referrer */, |
1278 bool /* use prompt for save location */) | 1278 base::string16 /* suggested_name */, |
| 1279 bool /* use prompt for save location */) |
1279 | 1280 |
1280 // Used to go to the session history entry at the given offset (ie, -1 will | 1281 // Used to go to the session history entry at the given offset (ie, -1 will |
1281 // return the "back" item). | 1282 // return the "back" item). |
1282 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1283 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
1283 int /* offset (from current) of history item to get */) | 1284 int /* offset (from current) of history item to get */) |
1284 | 1285 |
1285 // Sent from an inactive renderer for the browser to route to the active | 1286 // Sent from an inactive renderer for the browser to route to the active |
1286 // renderer, instructing it to close. | 1287 // renderer, instructing it to close. |
1287 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) | 1288 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) |
1288 | 1289 |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1762 // synchronously (see crbug.com/120597). This IPC message sends the character | 1763 // synchronously (see crbug.com/120597). This IPC message sends the character |
1763 // bounds after every composition change to always have correct bound info. | 1764 // bounds after every composition change to always have correct bound info. |
1764 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1765 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1765 gfx::Range /* composition range */, | 1766 gfx::Range /* composition range */, |
1766 std::vector<gfx::Rect> /* character bounds */) | 1767 std::vector<gfx::Rect> /* character bounds */) |
1767 #endif | 1768 #endif |
1768 | 1769 |
1769 // Adding a new message? Stick to the sort order above: first platform | 1770 // Adding a new message? Stick to the sort order above: first platform |
1770 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1771 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1771 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1772 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |