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 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1249 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1249 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1250 | 1250 |
1251 // Message sent from renderer to the browser when focus changes inside the | 1251 // Message sent from renderer to the browser when focus changes inside the |
1252 // webpage. The parameter says whether the newly focused element needs | 1252 // webpage. The parameter says whether the newly focused element needs |
1253 // keyboard input (true for textfields, text areas and content editable divs). | 1253 // keyboard input (true for textfields, text areas and content editable divs). |
1254 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1254 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
1255 bool /* is_editable_node */) | 1255 bool /* is_editable_node */) |
1256 | 1256 |
1257 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1257 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
1258 | 1258 |
| 1259 // Message sent from renderer requesting touch emulation using mouse. |
| 1260 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetTouchEventEmulationEnabled, |
| 1261 bool /* enabled */) |
| 1262 |
1259 // Used to set a cookie. The cookie is set asynchronously, but will be | 1263 // Used to set a cookie. The cookie is set asynchronously, but will be |
1260 // available to a subsequent ViewHostMsg_GetCookies request. | 1264 // available to a subsequent ViewHostMsg_GetCookies request. |
1261 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, | 1265 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, |
1262 int /* render_frame_id */, | 1266 int /* render_frame_id */, |
1263 GURL /* url */, | 1267 GURL /* url */, |
1264 GURL /* first_party_for_cookies */, | 1268 GURL /* first_party_for_cookies */, |
1265 std::string /* cookie */) | 1269 std::string /* cookie */) |
1266 | 1270 |
1267 // Used to get cookies for the given URL. This may block waiting for a | 1271 // Used to get cookies for the given URL. This may block waiting for a |
1268 // previous SetCookie message to be processed. | 1272 // previous SetCookie message to be processed. |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1892 // synchronously (see crbug.com/120597). This IPC message sends the character | 1896 // synchronously (see crbug.com/120597). This IPC message sends the character |
1893 // bounds after every composition change to always have correct bound info. | 1897 // bounds after every composition change to always have correct bound info. |
1894 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1898 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1895 gfx::Range /* composition range */, | 1899 gfx::Range /* composition range */, |
1896 std::vector<gfx::Rect> /* character bounds */) | 1900 std::vector<gfx::Rect> /* character bounds */) |
1897 #endif | 1901 #endif |
1898 | 1902 |
1899 // Adding a new message? Stick to the sort order above: first platform | 1903 // Adding a new message? Stick to the sort order above: first platform |
1900 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1904 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1901 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1905 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |