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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 // When a renderer sends a ViewHostMsg_Focus to the browser process, | 1147 // When a renderer sends a ViewHostMsg_Focus to the browser process, |
1148 // the browser has the option of sending a ViewMsg_CantFocus back to | 1148 // the browser has the option of sending a ViewMsg_CantFocus back to |
1149 // the renderer. | 1149 // the renderer. |
1150 IPC_MESSAGE_ROUTED0(ViewMsg_CantFocus) | 1150 IPC_MESSAGE_ROUTED0(ViewMsg_CantFocus) |
1151 | 1151 |
1152 // Instructs the renderer to invoke the frame's shouldClose method, which | 1152 // Instructs the renderer to invoke the frame's shouldClose method, which |
1153 // runs the onbeforeunload event handler. Expects the result to be returned | 1153 // runs the onbeforeunload event handler. Expects the result to be returned |
1154 // via ViewHostMsg_ShouldClose. | 1154 // via ViewHostMsg_ShouldClose. |
1155 IPC_MESSAGE_ROUTED0(ViewMsg_ShouldClose) | 1155 IPC_MESSAGE_ROUTED0(ViewMsg_ShouldClose) |
1156 | 1156 |
| 1157 // Tells the renderer to suppress any further modal dialogs until it receives a |
| 1158 // corresponding ViewMsg_SwapOut message. This ensures that no |
| 1159 // PageGroupLoadDeferrer is on the stack for SwapOut. |
| 1160 IPC_MESSAGE_ROUTED0(ViewMsg_SuppressDialogsUntilSwapOut) |
| 1161 |
1157 // Instructs the renderer to swap out for a cross-site transition, including | 1162 // Instructs the renderer to swap out for a cross-site transition, including |
1158 // running the unload event handler. Expects a SwapOut_ACK message when | 1163 // running the unload event handler. Expects a SwapOut_ACK message when |
1159 // finished. | 1164 // finished. |
1160 IPC_MESSAGE_ROUTED0(ViewMsg_SwapOut) | 1165 IPC_MESSAGE_ROUTED0(ViewMsg_SwapOut) |
1161 | 1166 |
1162 // Instructs the renderer to close the current page, including running the | 1167 // Instructs the renderer to close the current page, including running the |
1163 // onunload event handler. | 1168 // onunload event handler. |
1164 // | 1169 // |
1165 // Expects a ClosePage_ACK message when finished. | 1170 // Expects a ClosePage_ACK message when finished. |
1166 IPC_MESSAGE_ROUTED0(ViewMsg_ClosePage) | 1171 IPC_MESSAGE_ROUTED0(ViewMsg_ClosePage) |
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2361 // synchronously (see crbug.com/120597). This IPC message sends the character | 2366 // synchronously (see crbug.com/120597). This IPC message sends the character |
2362 // bounds after every composition change to always have correct bound info. | 2367 // bounds after every composition change to always have correct bound info. |
2363 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2368 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2364 gfx::Range /* composition range */, | 2369 gfx::Range /* composition range */, |
2365 std::vector<gfx::Rect> /* character bounds */) | 2370 std::vector<gfx::Rect> /* character bounds */) |
2366 #endif | 2371 #endif |
2367 | 2372 |
2368 // Adding a new message? Stick to the sort order above: first platform | 2373 // Adding a new message? Stick to the sort order above: first platform |
2369 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2374 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2370 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2375 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |