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 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1194 bool /* opened_by_user_gesture */) | 1194 bool /* opened_by_user_gesture */) |
1195 | 1195 |
1196 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, | 1196 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, |
1197 int /* route_id */, | 1197 int /* route_id */, |
1198 gfx::Rect /* initial_pos */) | 1198 gfx::Rect /* initial_pos */) |
1199 | 1199 |
1200 // Message to show a full screen widget. | 1200 // Message to show a full screen widget. |
1201 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, | 1201 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, |
1202 int /* route_id */) | 1202 int /* route_id */) |
1203 | 1203 |
1204 // This message is sent after ViewHostMsg_ShowView to cause the RenderView | |
1205 // to run in a modal fashion until it is closed. | |
1206 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, | |
1207 int /* opener_id */) | |
1208 | |
1209 // Indicates the renderer is ready in response to a ViewMsg_New or | 1204 // Indicates the renderer is ready in response to a ViewMsg_New or |
1210 // a ViewMsg_CreatingNew_ACK. | 1205 // a ViewMsg_CreatingNew_ACK. |
1211 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1206 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
1212 | 1207 |
1213 // Indicates the renderer process is gone. This actually is sent by the | 1208 // Indicates the renderer process is gone. This actually is sent by the |
1214 // browser process to itself, but keeps the interface cleaner. | 1209 // browser process to itself, but keeps the interface cleaner. |
1215 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, | 1210 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, |
1216 int, /* this really is base::TerminationStatus */ | 1211 int, /* this really is base::TerminationStatus */ |
1217 int /* exit_code */) | 1212 int /* exit_code */) |
1218 | 1213 |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2028 // synchronously (see crbug.com/120597). This IPC message sends the character | 2023 // synchronously (see crbug.com/120597). This IPC message sends the character |
2029 // bounds after every composition change to always have correct bound info. | 2024 // bounds after every composition change to always have correct bound info. |
2030 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2025 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2031 gfx::Range /* composition range */, | 2026 gfx::Range /* composition range */, |
2032 std::vector<gfx::Rect> /* character bounds */) | 2027 std::vector<gfx::Rect> /* character bounds */) |
2033 #endif | 2028 #endif |
2034 | 2029 |
2035 // Adding a new message? Stick to the sort order above: first platform | 2030 // Adding a new message? Stick to the sort order above: first platform |
2036 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2031 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2037 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2032 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |