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

Unified Diff: content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h

Issue 11793003: Relands: Telemetry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 7 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/basic_mouse_wheel_smooth_scroll_gesture.h
diff --git a/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h b/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h
index 8e3cb6053ff0226b70a4f6ed017fb3272d557521..b23d7885bfafede6eec3e55ae8b18d0709adfaa0 100644
--- a/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h
+++ b/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_RENDERER_HOST_BASIC_MOUSE_WHEEL_SMOOTH_SCROLL_GESTURE_
#include "base/time.h"
+#include "content/browser/renderer_host/smooth_scroll_calculator.h"
#include "content/port/browser/smooth_scroll_gesture.h"
namespace content {
@@ -22,14 +23,15 @@ class BasicMouseWheelSmoothScrollGesture : public SmoothScrollGesture {
private:
virtual ~BasicMouseWheelSmoothScrollGesture();
+ SmoothScrollCalculator smooth_scroll_calculator_;
+
bool scroll_down_;
int pixels_scrolled_;
int pixels_to_scroll_;
int mouse_event_x_;
int mouse_event_y_;
- base::TimeTicks last_tick_time_;
};
} // namespace content
-#endif
+#endif // CONTENT_BROWSER_RENDERER_HOST_BASIC_MOUSE_WHEEL_SMOOTH_SCROLL_GESTURE_

Powered by Google App Engine
This is Rietveld 408576698