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/browser/renderer_host/input/mouse_wheel_event_queue.h

Issue 2943133002: Async Wheel Event with only the first one cancellable behind a flag. (Closed)
Patch Set: failing tests fixed. Created 3 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MOUSE_WHEEL_EVENT_QUEUE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // True if a non-synthetic GSB needs to be sent before a GSU is sent. 86 // True if a non-synthetic GSB needs to be sent before a GSU is sent.
87 bool needs_scroll_begin_; 87 bool needs_scroll_begin_;
88 88
89 // True if a non-synthetic GSE needs to be sent because a non-synthetic 89 // True if a non-synthetic GSE needs to be sent because a non-synthetic
90 // GSB has been sent in the past. 90 // GSB has been sent in the past.
91 bool needs_scroll_end_; 91 bool needs_scroll_end_;
92 92
93 // True if the touchpad and wheel scroll latching is enabled. 93 // True if the touchpad and wheel scroll latching is enabled.
94 bool enable_scroll_latching_; 94 bool enable_scroll_latching_;
95 95
96 bool enable_async_wheel_events_;
dtapuska 2017/06/20 20:53:14 Could probably use some comments. Looking at the n
sahel 2017/06/21 18:09:59 Done.
97
98 bool send_wheel_events_async_;
99
96 blink::WebGestureDevice scrolling_device_; 100 blink::WebGestureDevice scrolling_device_;
97 101
98 DISALLOW_COPY_AND_ASSIGN(MouseWheelEventQueue); 102 DISALLOW_COPY_AND_ASSIGN(MouseWheelEventQueue);
99 }; 103 };
100 104
101 } // namespace content 105 } // namespace content
102 106
103 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ 107 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698