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 | |
634 // Sent when the user wants to search for a word on the page (find in page). | 632 // Sent when the user wants to search for a word on the page (find in page). |
635 IPC_MESSAGE_ROUTED3(ViewMsg_Find, | 633 IPC_MESSAGE_ROUTED3(ViewMsg_Find, |
636 int /* request_id */, | 634 int /* request_id */, |
637 base::string16 /* search_text */, | 635 base::string16 /* search_text */, |
638 blink::WebFindOptions) | 636 blink::WebFindOptions) |
639 | 637 |
640 // This message notifies the renderer that the user has closed the FindInPage | 638 // This message notifies the renderer that the user has closed the FindInPage |
641 // window (and what action to take regarding the selection). | 639 // window (and what action to take regarding the selection). |
642 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 640 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
643 content::StopFindAction /* action */) | 641 content::StopFindAction /* action */) |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1678 // Since the browser keeps handles to the allocated transport DIBs, this | 1676 // Since the browser keeps handles to the allocated transport DIBs, this |
1679 // message is sent to tell the browser that it may release them when the | 1677 // message is sent to tell the browser that it may release them when the |
1680 // renderer is finished with them. | 1678 // renderer is finished with them. |
1681 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1679 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1682 TransportDIB::Id /* DIB id */) | 1680 TransportDIB::Id /* DIB id */) |
1683 #endif | 1681 #endif |
1684 | 1682 |
1685 // Adding a new message? Stick to the sort order above: first platform | 1683 // Adding a new message? Stick to the sort order above: first platform |
1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1684 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1685 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |