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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 bool /* opened_by_user_gesture */) | 1058 bool /* opened_by_user_gesture */) |
1059 | 1059 |
1060 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, | 1060 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, |
1061 int /* route_id */, | 1061 int /* route_id */, |
1062 gfx::Rect /* initial_rect */) | 1062 gfx::Rect /* initial_rect */) |
1063 | 1063 |
1064 // Message to show a full screen widget. | 1064 // Message to show a full screen widget. |
1065 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, | 1065 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, |
1066 int /* route_id */) | 1066 int /* route_id */) |
1067 | 1067 |
1068 // This message is sent after ViewHostMsg_ShowView to cause the RenderView | |
1069 // to run in a modal fashion until it is closed. | |
1070 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, | |
1071 int /* opener_id */) | |
1072 | |
1073 // Indicates the renderer is ready in response to a ViewMsg_New or | 1068 // Indicates the renderer is ready in response to a ViewMsg_New or |
1074 // a ViewMsg_CreatingNew_ACK. | 1069 // a ViewMsg_CreatingNew_ACK. |
1075 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1070 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
1076 | 1071 |
1077 // Sent by the renderer process to request that the browser close the view. | 1072 // Sent by the renderer process to request that the browser close the view. |
1078 // This corresponds to the window.close() API, and the browser may ignore | 1073 // This corresponds to the window.close() API, and the browser may ignore |
1079 // this message. Otherwise, the browser will generates a ViewMsg_Close | 1074 // this message. Otherwise, the browser will generates a ViewMsg_Close |
1080 // message to close the view. | 1075 // message to close the view. |
1081 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) | 1076 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) |
1082 | 1077 |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1649 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1655 // for details. | 1650 // for details. |
1656 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1651 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1657 LOGFONT /* font_data */, | 1652 LOGFONT /* font_data */, |
1658 base::string16 /* characters */) | 1653 base::string16 /* characters */) |
1659 #endif | 1654 #endif |
1660 | 1655 |
1661 // Adding a new message? Stick to the sort order above: first platform | 1656 // Adding a new message? Stick to the sort order above: first platform |
1662 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1657 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1663 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1658 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |