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 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1247 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1248 | 1248 |
1249 // Message sent from renderer to the browser when focus changes inside the | 1249 // Message sent from renderer to the browser when focus changes inside the |
1250 // webpage. The parameter says whether the newly focused element needs | 1250 // webpage. The parameter says whether the newly focused element needs |
1251 // keyboard input (true for textfields, text areas and content editable divs). | 1251 // keyboard input (true for textfields, text areas and content editable divs). |
1252 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1252 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
1253 bool /* is_editable_node */) | 1253 bool /* is_editable_node */) |
1254 | 1254 |
1255 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1255 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
1256 | 1256 |
| 1257 // Message sent from renderer requesting touch emulation using mouse. |
| 1258 // Shift-scrolling should be converted to pinch, if |allow_pinch| is true. |
| 1259 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTouchEventEmulationEnabled, |
| 1260 bool /* enabled */, |
| 1261 bool /* allow_pinch */) |
| 1262 |
1257 // 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 |
1258 // available to a subsequent ViewHostMsg_GetCookies request. | 1264 // available to a subsequent ViewHostMsg_GetCookies request. |
1259 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, | 1265 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, |
1260 int /* render_frame_id */, | 1266 int /* render_frame_id */, |
1261 GURL /* url */, | 1267 GURL /* url */, |
1262 GURL /* first_party_for_cookies */, | 1268 GURL /* first_party_for_cookies */, |
1263 std::string /* cookie */) | 1269 std::string /* cookie */) |
1264 | 1270 |
1265 // 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 |
1266 // previous SetCookie message to be processed. | 1272 // previous SetCookie message to be processed. |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1872 // synchronously (see crbug.com/120597). This IPC message sends the character | 1878 // synchronously (see crbug.com/120597). This IPC message sends the character |
1873 // bounds after every composition change to always have correct bound info. | 1879 // bounds after every composition change to always have correct bound info. |
1874 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1880 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1875 gfx::Range /* composition range */, | 1881 gfx::Range /* composition range */, |
1876 std::vector<gfx::Rect> /* character bounds */) | 1882 std::vector<gfx::Rect> /* character bounds */) |
1877 #endif | 1883 #endif |
1878 | 1884 |
1879 // Adding a new message? Stick to the sort order above: first platform | 1885 // Adding a new message? Stick to the sort order above: first platform |
1880 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1886 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1881 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1887 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |