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 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 // Sent by browser to tell renderer compositor that some resources that were | 1109 // Sent by browser to tell renderer compositor that some resources that were |
1110 // given to the browser in a swap are not being used anymore. | 1110 // given to the browser in a swap are not being used anymore. |
1111 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, | 1111 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, |
1112 uint32 /* output_surface_id */, | 1112 uint32 /* output_surface_id */, |
1113 cc::CompositorFrameAck /* ack */) | 1113 cc::CompositorFrameAck /* ack */) |
1114 | 1114 |
1115 // Sent by the browser to ask the renderer for a snapshot of the current view. | 1115 // Sent by the browser to ask the renderer for a snapshot of the current view. |
1116 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, | 1116 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, |
1117 gfx::Rect /* src_subrect */) | 1117 gfx::Rect /* src_subrect */) |
1118 | 1118 |
| 1119 // Sent by the browser to ask the renderer to redraw. |
| 1120 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| 1121 int /* request_id */) |
| 1122 |
1119 // ----------------------------------------------------------------------------- | 1123 // ----------------------------------------------------------------------------- |
1120 // Messages sent from the renderer to the browser. | 1124 // Messages sent from the renderer to the browser. |
1121 | 1125 |
1122 // Sent by the renderer when it is creating a new window. The browser creates | 1126 // Sent by the renderer when it is creating a new window. The browser creates |
1123 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1127 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1124 // MSG_ROUTING_NONE, the view couldn't be created. | 1128 // MSG_ROUTING_NONE, the view couldn't be created. |
1125 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, | 1129 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, |
1126 ViewHostMsg_CreateWindow_Params, | 1130 ViewHostMsg_CreateWindow_Params, |
1127 int /* route_id */, | 1131 int /* route_id */, |
1128 int /* main_frame_route_id */, | 1132 int /* main_frame_route_id */, |
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1989 // synchronously (see crbug.com/120597). This IPC message sends the character | 1993 // synchronously (see crbug.com/120597). This IPC message sends the character |
1990 // bounds after every composition change to always have correct bound info. | 1994 // bounds after every composition change to always have correct bound info. |
1991 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1995 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1992 gfx::Range /* composition range */, | 1996 gfx::Range /* composition range */, |
1993 std::vector<gfx::Rect> /* character bounds */) | 1997 std::vector<gfx::Rect> /* character bounds */) |
1994 #endif | 1998 #endif |
1995 | 1999 |
1996 // Adding a new message? Stick to the sort order above: first platform | 2000 // Adding a new message? Stick to the sort order above: first platform |
1997 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2001 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1998 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2002 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |