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 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 cc::CompositorFrameAck /* ack */) | 982 cc::CompositorFrameAck /* ack */) |
983 | 983 |
984 // Sent by browser to tell renderer compositor that some resources that were | 984 // Sent by browser to tell renderer compositor that some resources that were |
985 // given to the browser in a swap are not being used anymore. | 985 // given to the browser in a swap are not being used anymore. |
986 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, | 986 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, |
987 uint32 /* output_surface_id */, | 987 uint32 /* output_surface_id */, |
988 cc::CompositorFrameAck /* ack */) | 988 cc::CompositorFrameAck /* ack */) |
989 | 989 |
990 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 990 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
991 | 991 |
| 992 // Sent by the browser to ask the renderer to redraw. |
| 993 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| 994 int /* request_id */) |
| 995 |
992 // ----------------------------------------------------------------------------- | 996 // ----------------------------------------------------------------------------- |
993 // Messages sent from the renderer to the browser. | 997 // Messages sent from the renderer to the browser. |
994 | 998 |
995 // Sent by the renderer when it is creating a new window. The browser creates | 999 // Sent by the renderer when it is creating a new window. The browser creates |
996 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1000 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
997 // MSG_ROUTING_NONE, the view couldn't be created. | 1001 // MSG_ROUTING_NONE, the view couldn't be created. |
998 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, | 1002 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, |
999 ViewHostMsg_CreateWindow_Params, | 1003 ViewHostMsg_CreateWindow_Params, |
1000 int /* route_id */, | 1004 int /* route_id */, |
1001 int /* main_frame_route_id */, | 1005 int /* main_frame_route_id */, |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1717 // synchronously (see crbug.com/120597). This IPC message sends the character | 1721 // synchronously (see crbug.com/120597). This IPC message sends the character |
1718 // bounds after every composition change to always have correct bound info. | 1722 // bounds after every composition change to always have correct bound info. |
1719 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1723 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1720 gfx::Range /* composition range */, | 1724 gfx::Range /* composition range */, |
1721 std::vector<gfx::Rect> /* character bounds */) | 1725 std::vector<gfx::Rect> /* character bounds */) |
1722 #endif | 1726 #endif |
1723 | 1727 |
1724 // Adding a new message? Stick to the sort order above: first platform | 1728 // Adding a new message? Stick to the sort order above: first platform |
1725 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1729 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1726 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1730 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |