| 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 // Replaces a date time input field. | 663 // Replaces a date time input field. |
| 664 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 664 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
| 665 double /* dialog_value */) | 665 double /* dialog_value */) |
| 666 | 666 |
| 667 // Copies the image at location x, y to the clipboard (if there indeed is an | 667 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 668 // image at that location). | 668 // image at that location). |
| 669 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 669 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 670 int /* x */, | 670 int /* x */, |
| 671 int /* y */) | 671 int /* y */) |
| 672 | 672 |
| 673 // Saves the image at location x, y to the disk (if there indeed is an |
| 674 // image at that location). |
| 675 IPC_MESSAGE_ROUTED2(ViewMsg_SaveImageAt, |
| 676 int /* x */, |
| 677 int /* y */) |
| 678 |
| 673 // Tells the renderer to perform the given action on the media player | 679 // Tells the renderer to perform the given action on the media player |
| 674 // located at the given point. | 680 // located at the given point. |
| 675 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 681 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
| 676 gfx::Point, /* location */ | 682 gfx::Point, /* location */ |
| 677 blink::WebMediaPlayerAction) | 683 blink::WebMediaPlayerAction) |
| 678 | 684 |
| 679 // Tells the renderer to perform the given action on the plugin located at | 685 // Tells the renderer to perform the given action on the plugin located at |
| 680 // the given point. | 686 // the given point. |
| 681 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, | 687 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, |
| 682 gfx::Point, /* location */ | 688 gfx::Point, /* location */ |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1317 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, | 1323 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
| 1318 IPC::Message /* message */) | 1324 IPC::Message /* message */) |
| 1319 | 1325 |
| 1320 // Tells the browser that a specific Appcache manifest in the current page | 1326 // Tells the browser that a specific Appcache manifest in the current page |
| 1321 // was accessed. | 1327 // was accessed. |
| 1322 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, | 1328 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
| 1323 GURL /* manifest url */, | 1329 GURL /* manifest url */, |
| 1324 bool /* blocked by policy */) | 1330 bool /* blocked by policy */) |
| 1325 | 1331 |
| 1326 // Initiates a download based on user actions like 'ALT+click'. | 1332 // Initiates a download based on user actions like 'ALT+click'. |
| 1327 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, | 1333 IPC_MESSAGE_ROUTED4(ViewHostMsg_DownloadUrl, |
| 1328 GURL /* url */, | 1334 GURL /* url */, |
| 1329 content::Referrer /* referrer */, | 1335 content::Referrer /* referrer */, |
| 1330 base::string16 /* suggested_name */) | 1336 base::string16 /* suggested_name */, |
| 1337 bool /* use prompt for save location */) |
| 1331 | 1338 |
| 1332 // Used to go to the session history entry at the given offset (ie, -1 will | 1339 // Used to go to the session history entry at the given offset (ie, -1 will |
| 1333 // return the "back" item). | 1340 // return the "back" item). |
| 1334 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1341 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
| 1335 int /* offset (from current) of history item to get */) | 1342 int /* offset (from current) of history item to get */) |
| 1336 | 1343 |
| 1337 // Sent from an inactive renderer for the browser to route to the active | 1344 // Sent from an inactive renderer for the browser to route to the active |
| 1338 // renderer, instructing it to close. | 1345 // renderer, instructing it to close. |
| 1339 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) | 1346 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) |
| 1340 | 1347 |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1817 // synchronously (see crbug.com/120597). This IPC message sends the character | 1824 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1818 // bounds after every composition change to always have correct bound info. | 1825 // bounds after every composition change to always have correct bound info. |
| 1819 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1826 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1820 gfx::Range /* composition range */, | 1827 gfx::Range /* composition range */, |
| 1821 std::vector<gfx::Rect> /* character bounds */) | 1828 std::vector<gfx::Rect> /* character bounds */) |
| 1822 #endif | 1829 #endif |
| 1823 | 1830 |
| 1824 // Adding a new message? Stick to the sort order above: first platform | 1831 // Adding a new message? Stick to the sort order above: first platform |
| 1825 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1832 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1826 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1833 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |