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 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, | 987 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
988 uint32 /* output_surface_id */, | 988 uint32 /* output_surface_id */, |
989 cc::CompositorFrameAck /* ack */) | 989 cc::CompositorFrameAck /* ack */) |
990 | 990 |
991 // Sent by browser to tell renderer compositor that some resources that were | 991 // Sent by browser to tell renderer compositor that some resources that were |
992 // given to the browser in a swap are not being used anymore. | 992 // given to the browser in a swap are not being used anymore. |
993 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, | 993 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, |
994 uint32 /* output_surface_id */, | 994 uint32 /* output_surface_id */, |
995 cc::CompositorFrameAck /* ack */) | 995 cc::CompositorFrameAck /* ack */) |
996 | 996 |
| 997 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| 998 |
997 // ----------------------------------------------------------------------------- | 999 // ----------------------------------------------------------------------------- |
998 // Messages sent from the renderer to the browser. | 1000 // Messages sent from the renderer to the browser. |
999 | 1001 |
1000 // Sent by the renderer when it is creating a new window. The browser creates | 1002 // Sent by the renderer when it is creating a new window. The browser creates |
1001 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1003 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1002 // MSG_ROUTING_NONE, the view couldn't be created. | 1004 // MSG_ROUTING_NONE, the view couldn't be created. |
1003 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, | 1005 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, |
1004 ViewHostMsg_CreateWindow_Params, | 1006 ViewHostMsg_CreateWindow_Params, |
1005 int /* route_id */, | 1007 int /* route_id */, |
1006 int /* main_frame_route_id */, | 1008 int /* main_frame_route_id */, |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 // synchronously (see crbug.com/120597). This IPC message sends the character | 1781 // synchronously (see crbug.com/120597). This IPC message sends the character |
1780 // bounds after every composition change to always have correct bound info. | 1782 // bounds after every composition change to always have correct bound info. |
1781 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1783 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1782 gfx::Range /* composition range */, | 1784 gfx::Range /* composition range */, |
1783 std::vector<gfx::Rect> /* character bounds */) | 1785 std::vector<gfx::Rect> /* character bounds */) |
1784 #endif | 1786 #endif |
1785 | 1787 |
1786 // Adding a new message? Stick to the sort order above: first platform | 1788 // Adding a new message? Stick to the sort order above: first platform |
1787 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1789 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1788 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1790 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |