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