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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 | 1142 |
1143 // Sent to update part of the view. In response to this message, the host | 1143 // Sent to update part of the view. In response to this message, the host |
1144 // generates a ViewMsg_UpdateRect_ACK message. | 1144 // generates a ViewMsg_UpdateRect_ACK message. |
1145 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1145 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1146 ViewHostMsg_UpdateRect_Params) | 1146 ViewHostMsg_UpdateRect_Params) |
1147 | 1147 |
1148 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1148 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1149 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1149 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1150 | 1150 |
1151 // Message sent from renderer to the browser when focus changes inside the | 1151 // Message sent from renderer to the browser when focus changes inside the |
1152 // webpage. The parameter says whether the newly focused element needs | 1152 // webpage. The first parameter says whether the newly focused element needs |
1153 // keyboard input (true for textfields, text areas and content editable divs). | 1153 // keyboard input (true for textfields, text areas and content editable divs). |
1154 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1154 // The second parameter is the node bounds relative to RenderWidgetHostView. |
1155 bool /* is_editable_node */) | 1155 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged, |
| 1156 bool /* is_editable_node */, |
| 1157 gfx::Rect /* node_bounds */) |
1156 | 1158 |
1157 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1159 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
1158 | 1160 |
1159 // Used to set a cookie. The cookie is set asynchronously, but will be | 1161 // Used to set a cookie. The cookie is set asynchronously, but will be |
1160 // available to a subsequent ViewHostMsg_GetCookies request. | 1162 // available to a subsequent ViewHostMsg_GetCookies request. |
1161 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, | 1163 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, |
1162 int /* render_frame_id */, | 1164 int /* render_frame_id */, |
1163 GURL /* url */, | 1165 GURL /* url */, |
1164 GURL /* first_party_for_cookies */, | 1166 GURL /* first_party_for_cookies */, |
1165 std::string /* cookie */) | 1167 std::string /* cookie */) |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1636 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1638 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1637 // for details. | 1639 // for details. |
1638 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1640 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1639 LOGFONT /* font_data */, | 1641 LOGFONT /* font_data */, |
1640 base::string16 /* characters */) | 1642 base::string16 /* characters */) |
1641 #endif | 1643 #endif |
1642 | 1644 |
1643 // Adding a new message? Stick to the sort order above: first platform | 1645 // Adding a new message? Stick to the sort order above: first platform |
1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1646 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1647 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |