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