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

Unified Diff: content/browser/renderer_host/input/mouse_wheel_event_queue.h

Issue 2158423002: Wheel scroll latching enabled behind flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/mouse_wheel_event_queue.h
diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue.h b/content/browser/renderer_host/input/mouse_wheel_event_queue.h
index a2722310b74b68c0c7e5c3f261851c65a969432d..234455ac5b7381611ecb7282301ce2e6ae9f9992 100644
--- a/content/browser/renderer_host/input/mouse_wheel_event_queue.h
+++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.h
@@ -19,7 +19,7 @@ namespace content {
// ScrollUpdate was sent for wheel based gesture scrolls.
// Set the default wheel transaction to 0ms until
// crbug.com/526463 is fully implemented.
-const int64_t kDefaultWheelScrollTransactionMs = 0; // 100;
+int64_t kDefaultWheelScrollTransactionMs;
class QueuedWebMouseWheelEvent;
@@ -100,6 +100,8 @@ class CONTENT_EXPORT MouseWheelEventQueue {
int64_t scroll_transaction_ms_;
blink::WebGestureDevice scrolling_device_;
+ bool touchpad_scroll_latching_;
+
DISALLOW_COPY_AND_ASSIGN(MouseWheelEventQueue);
};

Powered by Google App Engine
This is Rietveld 408576698