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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1151 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1152 ViewHostMsg_UpdateRect_Params) | 1152 ViewHostMsg_UpdateRect_Params) |
1153 | 1153 |
1154 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1154 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1155 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1155 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1156 | 1156 |
1157 // Message sent from renderer to the browser when focus changes inside the | 1157 // Message sent from renderer to the browser when focus changes inside the |
1158 // webpage. The first parameter says whether the newly focused element needs | 1158 // webpage. The first parameter says whether the newly focused element needs |
1159 // keyboard input (true for textfields, text areas and content editable divs). | 1159 // keyboard input (true for textfields, text areas and content editable divs). |
1160 // The second parameter is the node bounds relative to RenderWidgetHostView. | 1160 // The second parameter is the node bounds relative to RenderWidgetHostView. |
1161 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged, | 1161 IPC_MESSAGE_ROUTED3(ViewHostMsg_FocusedNodeChanged, |
1162 bool /* is_editable_node */, | 1162 bool /* is_editable_node */, |
| 1163 bool /* is_plugin_node */, |
1163 gfx::Rect /* node_bounds */) | 1164 gfx::Rect /* node_bounds */) |
1164 | 1165 |
1165 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1166 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
1166 | 1167 |
1167 // Used to get the list of plugins | 1168 // Used to get the list of plugins |
1168 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, | 1169 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, |
1169 bool /* refresh*/, | 1170 bool /* refresh*/, |
1170 std::vector<content::WebPluginInfo> /* plugins */) | 1171 std::vector<content::WebPluginInfo> /* plugins */) |
1171 | 1172 |
1172 #if defined(OS_WIN) | 1173 #if defined(OS_WIN) |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1612 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1612 // for details. | 1613 // for details. |
1613 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1614 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1614 LOGFONT /* font_data */, | 1615 LOGFONT /* font_data */, |
1615 base::string16 /* characters */) | 1616 base::string16 /* characters */) |
1616 #endif | 1617 #endif |
1617 | 1618 |
1618 // Adding a new message? Stick to the sort order above: first platform | 1619 // Adding a new message? Stick to the sort order above: first platform |
1619 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1620 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1620 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1621 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |