| 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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 // node. | 596 // node. |
| 597 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, | 597 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, |
| 598 bool /* reverse */) | 598 bool /* reverse */) |
| 599 | 599 |
| 600 // Sent to inform the renderer to invoke a context menu. | 600 // Sent to inform the renderer to invoke a context menu. |
| 601 // The parameter specifies the location in the render view's coordinates. | 601 // The parameter specifies the location in the render view's coordinates. |
| 602 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, | 602 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, |
| 603 ui::MenuSourceType, | 603 ui::MenuSourceType, |
| 604 gfx::Point /* location where menu should be shown */) | 604 gfx::Point /* location where menu should be shown */) |
| 605 | 605 |
| 606 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) | |
| 607 | |
| 608 // Sent when the user wants to search for a word on the page (find in page). | 606 // Sent when the user wants to search for a word on the page (find in page). |
| 609 IPC_MESSAGE_ROUTED3(ViewMsg_Find, | 607 IPC_MESSAGE_ROUTED3(ViewMsg_Find, |
| 610 int /* request_id */, | 608 int /* request_id */, |
| 611 base::string16 /* search_text */, | 609 base::string16 /* search_text */, |
| 612 blink::WebFindOptions) | 610 blink::WebFindOptions) |
| 613 | 611 |
| 614 // This message notifies the renderer that the user has closed the FindInPage | 612 // This message notifies the renderer that the user has closed the FindInPage |
| 615 // window (and what action to take regarding the selection). | 613 // window (and what action to take regarding the selection). |
| 616 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 614 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
| 617 content::StopFindAction /* action */) | 615 content::StopFindAction /* action */) |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1627 // Since the browser keeps handles to the allocated transport DIBs, this | 1625 // Since the browser keeps handles to the allocated transport DIBs, this |
| 1628 // message is sent to tell the browser that it may release them when the | 1626 // message is sent to tell the browser that it may release them when the |
| 1629 // renderer is finished with them. | 1627 // renderer is finished with them. |
| 1630 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1628 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1631 TransportDIB::Id /* DIB id */) | 1629 TransportDIB::Id /* DIB id */) |
| 1632 #endif | 1630 #endif |
| 1633 | 1631 |
| 1634 // Adding a new message? Stick to the sort order above: first platform | 1632 // Adding a new message? Stick to the sort order above: first platform |
| 1635 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1633 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1636 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1634 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |