| 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 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 | 1063 |
| 1064 // This message is sent after ViewHostMsg_ShowView to cause the RenderView | 1064 // This message is sent after ViewHostMsg_ShowView to cause the RenderView |
| 1065 // to run in a modal fashion until it is closed. | 1065 // to run in a modal fashion until it is closed. |
| 1066 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, | 1066 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, |
| 1067 int /* opener_id */) | 1067 int /* opener_id */) |
| 1068 | 1068 |
| 1069 // Indicates the renderer is ready in response to a ViewMsg_New or | 1069 // Indicates the renderer is ready in response to a ViewMsg_New or |
| 1070 // a ViewMsg_CreatingNew_ACK. | 1070 // a ViewMsg_CreatingNew_ACK. |
| 1071 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1071 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
| 1072 | 1072 |
| 1073 // Indicates the renderer process is gone. This actually is sent by the | |
| 1074 // browser process to itself, but keeps the interface cleaner. | |
| 1075 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone, | |
| 1076 int, /* this really is base::TerminationStatus */ | |
| 1077 int /* exit_code */) | |
| 1078 | |
| 1079 // Sent by the renderer process to request that the browser close the view. | 1073 // Sent by the renderer process to request that the browser close the view. |
| 1080 // This corresponds to the window.close() API, and the browser may ignore | 1074 // This corresponds to the window.close() API, and the browser may ignore |
| 1081 // this message. Otherwise, the browser will generates a ViewMsg_Close | 1075 // this message. Otherwise, the browser will generates a ViewMsg_Close |
| 1082 // message to close the view. | 1076 // message to close the view. |
| 1083 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) | 1077 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) |
| 1084 | 1078 |
| 1085 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can | 1079 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can |
| 1086 // throttle these messages. | 1080 // throttle these messages. |
| 1087 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) | 1081 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) |
| 1088 | 1082 |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1649 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1643 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1650 // for details. | 1644 // for details. |
| 1651 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1645 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1652 LOGFONT /* font_data */, | 1646 LOGFONT /* font_data */, |
| 1653 base::string16 /* characters */) | 1647 base::string16 /* characters */) |
| 1654 #endif | 1648 #endif |
| 1655 | 1649 |
| 1656 // Adding a new message? Stick to the sort order above: first platform | 1650 // Adding a new message? Stick to the sort order above: first platform |
| 1657 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1658 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |