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

Side by Side Diff: content/browser/renderer_host/input/touch_event_queue.h

Issue 458363002: Remove old Aura Gesture Detection Pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sadrul's comment, and rebase. 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 TOUCH_SCROLLING_MODE_DEFAULT = TOUCH_SCROLLING_MODE_ASYNC_TOUCHMOVE 55 TOUCH_SCROLLING_MODE_DEFAULT = TOUCH_SCROLLING_MODE_ASYNC_TOUCHMOVE
56 }; 56 };
57 57
58 struct CONTENT_EXPORT Config { 58 struct CONTENT_EXPORT Config {
59 Config(); 59 Config();
60 60
61 // Determines the bounds of the (square) touchmove slop suppression region. 61 // Determines the bounds of the (square) touchmove slop suppression region.
62 // Defaults to 0 (disabled). 62 // Defaults to 0 (disabled).
63 double touchmove_slop_suppression_length_dips; 63 double touchmove_slop_suppression_length_dips;
64 64
65 // Whether the touchmove slop suppression region is boundary inclusive.
66 // Defaults to true.
67 // TODO(jdduke): Remove when unified GR enabled, crbug.com/332418.
68 bool touchmove_slop_suppression_region_includes_boundary;
69
70 // Determines the type of touch scrolling. 65 // Determines the type of touch scrolling.
71 // Defaults to TouchEventQueue:::TOUCH_SCROLLING_MODE_DEFAULT. 66 // Defaults to TouchEventQueue:::TOUCH_SCROLLING_MODE_DEFAULT.
72 TouchEventQueue::TouchScrollingMode touch_scrolling_mode; 67 TouchEventQueue::TouchScrollingMode touch_scrolling_mode;
73 68
74 // Controls whether touch ack timeouts will trigger touch cancellation. 69 // Controls whether touch ack timeouts will trigger touch cancellation.
75 // Defaults to 200ms. 70 // Defaults to 200ms.
76 base::TimeDelta touch_ack_timeout_delay; 71 base::TimeDelta touch_ack_timeout_delay;
77 72
78 // Whether the platform supports touch ack timeout behavior. 73 // Whether the platform supports touch ack timeout behavior.
79 // Defaults to false (disabled). 74 // Defaults to false (disabled).
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // setting for experimentation, but we may evolve it into an app-controlled 239 // setting for experimentation, but we may evolve it into an app-controlled
245 // mode. 240 // mode.
246 const TouchScrollingMode touch_scrolling_mode_; 241 const TouchScrollingMode touch_scrolling_mode_;
247 242
248 DISALLOW_COPY_AND_ASSIGN(TouchEventQueue); 243 DISALLOW_COPY_AND_ASSIGN(TouchEventQueue);
249 }; 244 };
250 245
251 } // namespace content 246 } // namespace content
252 247
253 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ 248 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698