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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 // Replaces a date time input field. | 643 // Replaces a date time input field. |
644 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 644 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
645 double /* dialog_value */) | 645 double /* dialog_value */) |
646 | 646 |
647 // Copies the image at location x, y to the clipboard (if there indeed is an | 647 // Copies the image at location x, y to the clipboard (if there indeed is an |
648 // image at that location). | 648 // image at that location). |
649 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 649 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
650 int /* x */, | 650 int /* x */, |
651 int /* y */) | 651 int /* y */) |
652 | 652 |
| 653 // Saves the image at location x, y to the disk (if there indeed is an |
| 654 // image at that location). |
| 655 IPC_MESSAGE_ROUTED2(ViewMsg_SaveImageAt, |
| 656 int /* x */, |
| 657 int /* y */) |
| 658 |
653 // Tells the renderer to perform the given action on the media player | 659 // Tells the renderer to perform the given action on the media player |
654 // located at the given point. | 660 // located at the given point. |
655 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 661 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
656 gfx::Point, /* location */ | 662 gfx::Point, /* location */ |
657 blink::WebMediaPlayerAction) | 663 blink::WebMediaPlayerAction) |
658 | 664 |
659 // Tells the renderer to perform the given action on the plugin located at | 665 // Tells the renderer to perform the given action on the plugin located at |
660 // the given point. | 666 // the given point. |
661 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, | 667 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, |
662 gfx::Point, /* location */ | 668 gfx::Point, /* location */ |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, | 1303 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
1298 IPC::Message /* message */) | 1304 IPC::Message /* message */) |
1299 | 1305 |
1300 // Tells the browser that a specific Appcache manifest in the current page | 1306 // Tells the browser that a specific Appcache manifest in the current page |
1301 // was accessed. | 1307 // was accessed. |
1302 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, | 1308 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
1303 GURL /* manifest url */, | 1309 GURL /* manifest url */, |
1304 bool /* blocked by policy */) | 1310 bool /* blocked by policy */) |
1305 | 1311 |
1306 // Initiates a download based on user actions like 'ALT+click'. | 1312 // Initiates a download based on user actions like 'ALT+click'. |
1307 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, | 1313 IPC_MESSAGE_ROUTED4(ViewHostMsg_DownloadUrl, |
1308 GURL /* url */, | 1314 GURL /* url */, |
1309 content::Referrer /* referrer */, | 1315 content::Referrer /* referrer */, |
1310 base::string16 /* suggested_name */) | 1316 base::string16 /* suggested_name */, |
| 1317 bool /* use prompt for save location */) |
1311 | 1318 |
1312 // Used to go to the session history entry at the given offset (ie, -1 will | 1319 // Used to go to the session history entry at the given offset (ie, -1 will |
1313 // return the "back" item). | 1320 // return the "back" item). |
1314 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1321 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
1315 int /* offset (from current) of history item to get */) | 1322 int /* offset (from current) of history item to get */) |
1316 | 1323 |
1317 // Sent from an inactive renderer for the browser to route to the active | 1324 // Sent from an inactive renderer for the browser to route to the active |
1318 // renderer, instructing it to close. | 1325 // renderer, instructing it to close. |
1319 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) | 1326 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) |
1320 | 1327 |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 // synchronously (see crbug.com/120597). This IPC message sends the character | 1803 // synchronously (see crbug.com/120597). This IPC message sends the character |
1797 // bounds after every composition change to always have correct bound info. | 1804 // bounds after every composition change to always have correct bound info. |
1798 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1805 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1799 gfx::Range /* composition range */, | 1806 gfx::Range /* composition range */, |
1800 std::vector<gfx::Rect> /* character bounds */) | 1807 std::vector<gfx::Rect> /* character bounds */) |
1801 #endif | 1808 #endif |
1802 | 1809 |
1803 // Adding a new message? Stick to the sort order above: first platform | 1810 // Adding a new message? Stick to the sort order above: first platform |
1804 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1811 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1805 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1812 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |