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

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

Issue 2882443002: Tiimer based phase info generated for mouse wheel events. (Closed)
Patch Set: review comments addressed. Created 3 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/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 6bb3159a0dd1937ba1f31c4d35b05847208b11e6..1824f311bc16a0a2a2b040d6a621efcde9fe86aa 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -416,6 +416,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
bool is_fullscreen() { return is_fullscreen_; }
+ bool wheel_scroll_latching_enabled() {
+ return wheel_scroll_latching_enabled_;
+ }
+
// Exposed for testing.
virtual bool IsChildFrameForTesting() const;
virtual cc::SurfaceId SurfaceIdForTesting() const;
@@ -455,6 +459,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// destroyed before the RWHV is destroyed.
TextInputManager* text_input_manager_;
+ const bool wheel_scroll_latching_enabled_;
+
private:
void FlushInput();

Powered by Google App Engine
This is Rietveld 408576698