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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 688253002: Implemented smooth scrolling using xinput2 in X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled coalescing for all scroll events Created 5 years, 1 month 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 8d557804f42dccc56134db0ba3e9098a76a224a5..fa9aabe3f1746a6d79bda450724a8615162c29fe 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -1215,6 +1215,9 @@ class CONTENT_EXPORT WebContentsImpl
int minimum_zoom_percent_;
int maximum_zoom_percent_;
+ // Used to correctly handle integer zooming through a smooth scroll device.
+ float zoom_scroll_amount_;
bokan 2015/12/01 18:29:27 Please initialize this
+
// The intrinsic size of the page.
gfx::Size preferred_size_;

Powered by Google App Engine
This is Rietveld 408576698