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

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

Issue 138163016: [DevTools] Touch emulation in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non-aura compile 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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | 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
1237 // Used to set a cookie. The cookie is set asynchronously, but will be 1243 // Used to set a cookie. The cookie is set asynchronously, but will be
1238 // available to a subsequent ViewHostMsg_GetCookies request. 1244 // available to a subsequent ViewHostMsg_GetCookies request.
1239 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, 1245 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie,
1240 int /* render_frame_id */, 1246 int /* render_frame_id */,
1241 GURL /* url */, 1247 GURL /* url */,
1242 GURL /* first_party_for_cookies */, 1248 GURL /* first_party_for_cookies */,
1243 std::string /* cookie */) 1249 std::string /* cookie */)
1244 1250
1245 // Used to get cookies for the given URL. This may block waiting for a 1251 // Used to get cookies for the given URL. This may block waiting for a
1246 // previous SetCookie message to be processed. 1252 // previous SetCookie message to be processed.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 // synchronously (see crbug.com/120597). This IPC message sends the character 1830 // synchronously (see crbug.com/120597). This IPC message sends the character
1825 // bounds after every composition change to always have correct bound info. 1831 // bounds after every composition change to always have correct bound info.
1826 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1832 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1827 gfx::Range /* composition range */, 1833 gfx::Range /* composition range */,
1828 std::vector<gfx::Rect> /* character bounds */) 1834 std::vector<gfx::Rect> /* character bounds */)
1829 #endif 1835 #endif
1830 1836
1831 // Adding a new message? Stick to the sort order above: first platform 1837 // Adding a new message? Stick to the sort order above: first platform
1832 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1838 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1833 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1839 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698