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 |
1204 // Indicates the renderer is ready in response to a ViewMsg_New or | 1209 // Indicates the renderer is ready in response to a ViewMsg_New or |
1205 // a ViewMsg_CreatingNew_ACK. | 1210 // a ViewMsg_CreatingNew_ACK. |
1206 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1211 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
1207 | 1212 |
1208 // Indicates the renderer process is gone. This actually is sent by the | 1213 // Indicates the renderer process is gone. This actually is sent by the |
1209 // browser process to itself, but keeps the interface cleaner. | 1214 // browser process to itself, but keeps the interface cleaner. |
1210 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, | 1215 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, |
1211 int, /* this really is base::TerminationStatus */ | 1216 int, /* this really is base::TerminationStatus */ |
1212 int /* exit_code */) | 1217 int /* exit_code */) |
1213 | 1218 |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2014 // synchronously (see crbug.com/120597). This IPC message sends the character | 2019 // synchronously (see crbug.com/120597). This IPC message sends the character |
2015 // bounds after every composition change to always have correct bound info. | 2020 // bounds after every composition change to always have correct bound info. |
2016 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2021 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2017 gfx::Range /* composition range */, | 2022 gfx::Range /* composition range */, |
2018 std::vector<gfx::Rect> /* character bounds */) | 2023 std::vector<gfx::Rect> /* character bounds */) |
2019 #endif | 2024 #endif |
2020 | 2025 |
2021 // Adding a new message? Stick to the sort order above: first platform | 2026 // Adding a new message? Stick to the sort order above: first platform |
2022 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2027 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2023 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2028 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |