Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(820)

Side by Side Diff: trunk/src/content/common/view_messages.h

Issue 237353003: Revert 263644 "[DevTools] Touch emulation in content." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/content/child/blink_platform_impl.cc ('k') | trunk/src/content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1227 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1228 1228
1229 // Message sent from renderer to the browser when focus changes inside the 1229 // Message sent from renderer to the browser when focus changes inside the
1230 // webpage. The parameter says whether the newly focused element needs 1230 // webpage. The parameter says whether the newly focused element needs
1231 // keyboard input (true for textfields, text areas and content editable divs). 1231 // keyboard input (true for textfields, text areas and content editable divs).
1232 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1232 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
1233 bool /* is_editable_node */) 1233 bool /* is_editable_node */)
1234 1234
1235 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) 1235 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)
1236 1236
1237 // Message sent from renderer requesting touch emulation using mouse.
1238 // Shift-scrolling should be converted to pinch, if |allow_pinch| is true.
1239 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTouchEventEmulationEnabled,
1240 bool /* enabled */,
1241 bool /* allow_pinch */)
1242
1243 // Used to set a cookie. The cookie is set asynchronously, but will be 1237 // Used to set a cookie. The cookie is set asynchronously, but will be
1244 // available to a subsequent ViewHostMsg_GetCookies request. 1238 // available to a subsequent ViewHostMsg_GetCookies request.
1245 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, 1239 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie,
1246 int /* render_frame_id */, 1240 int /* render_frame_id */,
1247 GURL /* url */, 1241 GURL /* url */,
1248 GURL /* first_party_for_cookies */, 1242 GURL /* first_party_for_cookies */,
1249 std::string /* cookie */) 1243 std::string /* cookie */)
1250 1244
1251 // Used to get cookies for the given URL. This may block waiting for a 1245 // Used to get cookies for the given URL. This may block waiting for a
1252 // previous SetCookie message to be processed. 1246 // previous SetCookie message to be processed.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1830 // synchronously (see crbug.com/120597). This IPC message sends the character 1824 // synchronously (see crbug.com/120597). This IPC message sends the character
1831 // bounds after every composition change to always have correct bound info. 1825 // bounds after every composition change to always have correct bound info.
1832 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1826 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1833 gfx::Range /* composition range */, 1827 gfx::Range /* composition range */,
1834 std::vector<gfx::Rect> /* character bounds */) 1828 std::vector<gfx::Rect> /* character bounds */)
1835 #endif 1829 #endif
1836 1830
1837 // Adding a new message? Stick to the sort order above: first platform 1831 // Adding a new message? Stick to the sort order above: first platform
1838 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1832 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1839 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1833 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « trunk/src/content/child/blink_platform_impl.cc ('k') | trunk/src/content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698