| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) | 611 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) |
| 612 | 612 |
| 613 // Tells the render view that it is no longer hidden (see WasHidden), and the | 613 // Tells the render view that it is no longer hidden (see WasHidden), and the |
| 614 // render view is expected to respond with a full repaint if needs_repainting | 614 // render view is expected to respond with a full repaint if needs_repainting |
| 615 // is true. If needs_repainting is false, then this message does not trigger a | 615 // is true. If needs_repainting is false, then this message does not trigger a |
| 616 // message in response. | 616 // message in response. |
| 617 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown, | 617 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown, |
| 618 bool /* needs_repainting */, | 618 bool /* needs_repainting */, |
| 619 ui::LatencyInfo /* latency_info */) | 619 ui::LatencyInfo /* latency_info */) |
| 620 | 620 |
| 621 // Sent to inform the view that it was swapped out. This allows the process to | |
| 622 // exit if no other views are using it. | |
| 623 IPC_MESSAGE_ROUTED0(ViewMsg_WasSwappedOut) | |
| 624 | |
| 625 // Tells the renderer to focus the first (last if reverse is true) focusable | 621 // Tells the renderer to focus the first (last if reverse is true) focusable |
| 626 // node. | 622 // node. |
| 627 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, | 623 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, |
| 628 bool /* reverse */) | 624 bool /* reverse */) |
| 629 | 625 |
| 630 // Sent to inform the renderer to invoke a context menu. | 626 // Sent to inform the renderer to invoke a context menu. |
| 631 // The parameter specifies the location in the render view's coordinates. | 627 // The parameter specifies the location in the render view's coordinates. |
| 632 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, | 628 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, |
| 633 ui::MenuSourceType, | 629 ui::MenuSourceType, |
| 634 gfx::Point /* location where menu should be shown */) | 630 gfx::Point /* location where menu should be shown */) |
| (...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1688 // Since the browser keeps handles to the allocated transport DIBs, this | 1684 // 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 | 1685 // message is sent to tell the browser that it may release them when the |
| 1690 // renderer is finished with them. | 1686 // renderer is finished with them. |
| 1691 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1687 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1692 TransportDIB::Id /* DIB id */) | 1688 TransportDIB::Id /* DIB id */) |
| 1693 #endif | 1689 #endif |
| 1694 | 1690 |
| 1695 // Adding a new message? Stick to the sort order above: first platform | 1691 // Adding a new message? Stick to the sort order above: first platform |
| 1696 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1692 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1697 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1693 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |