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 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 bool /* opened_by_user_gesture */) | 1173 bool /* opened_by_user_gesture */) |
1174 | 1174 |
1175 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, | 1175 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, |
1176 int /* route_id */, | 1176 int /* route_id */, |
1177 gfx::Rect /* initial_pos */) | 1177 gfx::Rect /* initial_pos */) |
1178 | 1178 |
1179 // Message to show a full screen widget. | 1179 // Message to show a full screen widget. |
1180 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, | 1180 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, |
1181 int /* route_id */) | 1181 int /* route_id */) |
1182 | 1182 |
| 1183 // This message is sent after ViewHostMsg_ShowView to cause the RenderView |
| 1184 // to run in a modal fashion until it is closed. |
| 1185 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, |
| 1186 int /* opener_id */) |
| 1187 |
1183 // Indicates the renderer is ready in response to a ViewMsg_New or | 1188 // Indicates the renderer is ready in response to a ViewMsg_New or |
1184 // a ViewMsg_CreatingNew_ACK. | 1189 // a ViewMsg_CreatingNew_ACK. |
1185 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1190 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
1186 | 1191 |
1187 // Indicates the renderer process is gone. This actually is sent by the | 1192 // Indicates the renderer process is gone. This actually is sent by the |
1188 // browser process to itself, but keeps the interface cleaner. | 1193 // browser process to itself, but keeps the interface cleaner. |
1189 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, | 1194 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, |
1190 int, /* this really is base::TerminationStatus */ | 1195 int, /* this really is base::TerminationStatus */ |
1191 int /* exit_code */) | 1196 int /* exit_code */) |
1192 | 1197 |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1972 // synchronously (see crbug.com/120597). This IPC message sends the character | 1977 // synchronously (see crbug.com/120597). This IPC message sends the character |
1973 // bounds after every composition change to always have correct bound info. | 1978 // bounds after every composition change to always have correct bound info. |
1974 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1979 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1975 gfx::Range /* composition range */, | 1980 gfx::Range /* composition range */, |
1976 std::vector<gfx::Rect> /* character bounds */) | 1981 std::vector<gfx::Rect> /* character bounds */) |
1977 #endif | 1982 #endif |
1978 | 1983 |
1979 // Adding a new message? Stick to the sort order above: first platform | 1984 // Adding a new message? Stick to the sort order above: first platform |
1980 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1985 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1981 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1986 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |