Chromium Code Reviews| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1401 // to run in a modal fashion until it is closed. | 1401 // to run in a modal fashion until it is closed. |
| 1402 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, | 1402 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, |
| 1403 int /* opener_id */) | 1403 int /* opener_id */) |
| 1404 | 1404 |
| 1405 // Indicates the renderer is ready in response to a ViewMsg_New or | 1405 // Indicates the renderer is ready in response to a ViewMsg_New or |
| 1406 // a ViewMsg_CreatingNew_ACK. | 1406 // a ViewMsg_CreatingNew_ACK. |
| 1407 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1407 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
| 1408 | 1408 |
| 1409 // Indicates the renderer process is gone. This actually is sent by the | 1409 // Indicates the renderer process is gone. This actually is sent by the |
| 1410 // browser process to itself, but keeps the interface cleaner. | 1410 // browser process to itself, but keeps the interface cleaner. |
| 1411 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone, | 1411 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, |
| 1412 int, /* this really is base::TerminationStatus */ | 1412 int, /* this really is base::TerminationStatus */ |
|
palmer
2013/07/09 17:47:15
Use that type, then? In a subsequent CL. :)
nasko
2013/07/09 19:12:48
Sounds better in a separate CL.
| |
| 1413 int /* exit_code */) | 1413 int /* exit_code */) |
| 1414 | 1414 |
| 1415 // Sent by the renderer process to request that the browser close the view. | 1415 // Sent by the renderer process to request that the browser close the view. |
| 1416 // This corresponds to the window.close() API, and the browser may ignore | 1416 // This corresponds to the window.close() API, and the browser may ignore |
| 1417 // this message. Otherwise, the browser will generates a ViewMsg_Close | 1417 // this message. Otherwise, the browser will generates a ViewMsg_Close |
| 1418 // message to close the view. | 1418 // message to close the view. |
| 1419 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) | 1419 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) |
| 1420 | 1420 |
| 1421 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can | 1421 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can |
| 1422 // throttle these messages. | 1422 // throttle these messages. |
| (...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2325 // Since the browser keeps handles to the allocated transport DIBs, this | 2325 // Since the browser keeps handles to the allocated transport DIBs, this |
| 2326 // message is sent to tell the browser that it may release them when the | 2326 // message is sent to tell the browser that it may release them when the |
| 2327 // renderer is finished with them. | 2327 // renderer is finished with them. |
| 2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 2329 TransportDIB::Id /* DIB id */) | 2329 TransportDIB::Id /* DIB id */) |
| 2330 #endif | 2330 #endif |
| 2331 | 2331 |
| 2332 // Adding a new message? Stick to the sort order above: first platform | 2332 // Adding a new message? Stick to the sort order above: first platform |
| 2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |