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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 // node. | 622 // node. |
623 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, | 623 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, |
624 bool /* reverse */) | 624 bool /* reverse */) |
625 | 625 |
626 // Sent to inform the renderer to invoke a context menu. | 626 // Sent to inform the renderer to invoke a context menu. |
627 // The parameter specifies the location in the render view's coordinates. | 627 // The parameter specifies the location in the render view's coordinates. |
628 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, | 628 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, |
629 ui::MenuSourceType, | 629 ui::MenuSourceType, |
630 gfx::Point /* location where menu should be shown */) | 630 gfx::Point /* location where menu should be shown */) |
631 | 631 |
| 632 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) |
| 633 |
632 // Sent when the user wants to search for a word on the page (find in page). | 634 // Sent when the user wants to search for a word on the page (find in page). |
633 IPC_MESSAGE_ROUTED3(ViewMsg_Find, | 635 IPC_MESSAGE_ROUTED3(ViewMsg_Find, |
634 int /* request_id */, | 636 int /* request_id */, |
635 base::string16 /* search_text */, | 637 base::string16 /* search_text */, |
636 blink::WebFindOptions) | 638 blink::WebFindOptions) |
637 | 639 |
638 // This message notifies the renderer that the user has closed the FindInPage | 640 // This message notifies the renderer that the user has closed the FindInPage |
639 // window (and what action to take regarding the selection). | 641 // window (and what action to take regarding the selection). |
640 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 642 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
641 content::StopFindAction /* action */) | 643 content::StopFindAction /* action */) |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 // Since the browser keeps handles to the allocated transport DIBs, this | 1678 // Since the browser keeps handles to the allocated transport DIBs, this |
1677 // message is sent to tell the browser that it may release them when the | 1679 // message is sent to tell the browser that it may release them when the |
1678 // renderer is finished with them. | 1680 // renderer is finished with them. |
1679 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1681 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1680 TransportDIB::Id /* DIB id */) | 1682 TransportDIB::Id /* DIB id */) |
1681 #endif | 1683 #endif |
1682 | 1684 |
1683 // Adding a new message? Stick to the sort order above: first platform | 1685 // Adding a new message? Stick to the sort order above: first platform |
1684 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1685 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |