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

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

Issue 367173003: [Android] Implementation of overscroll effect for Android L (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 6 years, 4 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/common/input/did_overscroll_params.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 input events and other messages that require processing in 5 // IPC messages for input events and other messages that require processing in
6 // order relative to input events. 6 // order relative to input events.
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 8
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 value <= content::TOUCH_ACTION_MAX && 52 value <= content::TOUCH_ACTION_MAX &&
53 (!(value & content::TOUCH_ACTION_NONE) || 53 (!(value & content::TOUCH_ACTION_NONE) ||
54 (value == content::TOUCH_ACTION_NONE)) && 54 (value == content::TOUCH_ACTION_NONE)) &&
55 (!(value & content::TOUCH_ACTION_PINCH_ZOOM) || 55 (!(value & content::TOUCH_ACTION_PINCH_ZOOM) ||
56 (value == content::TOUCH_ACTION_MANIPULATION)))) 56 (value == content::TOUCH_ACTION_MANIPULATION))))
57 57
58 IPC_STRUCT_TRAITS_BEGIN(content::DidOverscrollParams) 58 IPC_STRUCT_TRAITS_BEGIN(content::DidOverscrollParams)
59 IPC_STRUCT_TRAITS_MEMBER(accumulated_overscroll) 59 IPC_STRUCT_TRAITS_MEMBER(accumulated_overscroll)
60 IPC_STRUCT_TRAITS_MEMBER(latest_overscroll_delta) 60 IPC_STRUCT_TRAITS_MEMBER(latest_overscroll_delta)
61 IPC_STRUCT_TRAITS_MEMBER(current_fling_velocity) 61 IPC_STRUCT_TRAITS_MEMBER(current_fling_velocity)
62 IPC_STRUCT_TRAITS_MEMBER(causal_event_viewport_point)
62 IPC_STRUCT_TRAITS_END() 63 IPC_STRUCT_TRAITS_END()
63 64
64 IPC_STRUCT_TRAITS_BEGIN(content::EditCommand) 65 IPC_STRUCT_TRAITS_BEGIN(content::EditCommand)
65 IPC_STRUCT_TRAITS_MEMBER(name) 66 IPC_STRUCT_TRAITS_MEMBER(name)
66 IPC_STRUCT_TRAITS_MEMBER(value) 67 IPC_STRUCT_TRAITS_MEMBER(value)
67 IPC_STRUCT_TRAITS_END() 68 IPC_STRUCT_TRAITS_END()
68 69
69 IPC_STRUCT_TRAITS_BEGIN(content::InputEvent) 70 IPC_STRUCT_TRAITS_BEGIN(content::InputEvent)
70 IPC_STRUCT_TRAITS_MEMBER(web_event) 71 IPC_STRUCT_TRAITS_MEMBER(web_event)
71 IPC_STRUCT_TRAITS_MEMBER(latency_info) 72 IPC_STRUCT_TRAITS_MEMBER(latency_info)
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // bounds after every composition change to always have correct bound info. 246 // bounds after every composition change to always have correct bound info.
246 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 247 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
247 gfx::Range /* composition range */, 248 gfx::Range /* composition range */,
248 std::vector<gfx::Rect> /* character bounds */) 249 std::vector<gfx::Rect> /* character bounds */)
249 #endif 250 #endif
250 251
251 // Adding a new message? Stick to the sort order above: first platform 252 // Adding a new message? Stick to the sort order above: first platform
252 // independent InputMsg, then ifdefs for platform specific InputMsg, then 253 // independent InputMsg, then ifdefs for platform specific InputMsg, then
253 // platform independent InputHostMsg, then ifdefs for platform specific 254 // platform independent InputHostMsg, then ifdefs for platform specific
254 // InputHostMsg. 255 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/common/input/did_overscroll_params.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698