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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1161 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1162 | 1162 |
1163 // Message sent from renderer to the browser when focus changes inside the | 1163 // Message sent from renderer to the browser when focus changes inside the |
1164 // webpage. The parameter says whether the newly focused element needs | 1164 // webpage. The parameter says whether the newly focused element needs |
1165 // keyboard input (true for textfields, text areas and content editable divs). | 1165 // keyboard input (true for textfields, text areas and content editable divs). |
1166 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1166 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
1167 bool /* is_editable_node */) | 1167 bool /* is_editable_node */) |
1168 | 1168 |
1169 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1169 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
1170 | 1170 |
1171 // Message sent from renderer requesting touch emulation using mouse. | |
1172 // Shift-scrolling should be converted to pinch, if |allow_pinch| is true. | |
1173 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTouchEventEmulationEnabled, | |
1174 bool /* enabled */, | |
1175 bool /* allow_pinch */) | |
1176 | |
1177 // Used to set a cookie. The cookie is set asynchronously, but will be | 1171 // Used to set a cookie. The cookie is set asynchronously, but will be |
1178 // available to a subsequent ViewHostMsg_GetCookies request. | 1172 // available to a subsequent ViewHostMsg_GetCookies request. |
1179 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, | 1173 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, |
1180 int /* render_frame_id */, | 1174 int /* render_frame_id */, |
1181 GURL /* url */, | 1175 GURL /* url */, |
1182 GURL /* first_party_for_cookies */, | 1176 GURL /* first_party_for_cookies */, |
1183 std::string /* cookie */) | 1177 std::string /* cookie */) |
1184 | 1178 |
1185 // Used to get cookies for the given URL. This may block waiting for a | 1179 // Used to get cookies for the given URL. This may block waiting for a |
1186 // previous SetCookie message to be processed. | 1180 // previous SetCookie message to be processed. |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 // Since the browser keeps handles to the allocated transport DIBs, this | 1682 // Since the browser keeps handles to the allocated transport DIBs, this |
1689 // message is sent to tell the browser that it may release them when the | 1683 // message is sent to tell the browser that it may release them when the |
1690 // renderer is finished with them. | 1684 // renderer is finished with them. |
1691 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1685 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1692 TransportDIB::Id /* DIB id */) | 1686 TransportDIB::Id /* DIB id */) |
1693 #endif | 1687 #endif |
1694 | 1688 |
1695 // Adding a new message? Stick to the sort order above: first platform | 1689 // Adding a new message? Stick to the sort order above: first platform |
1696 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1690 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1697 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1691 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |