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

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

Issue 2882443002: Tiimer based phase info generated for mouse wheel events. (Closed)
Patch Set: debouncing queue disabled to count sent messages properly 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.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
index 66e549f010161c11e45898c4d49abe7bd1451209..90b04bbd38b218f3463f2ea4612d91c16033975f 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -16,6 +16,7 @@
#include "content/browser/renderer_host/render_widget_host_view_frame_subscriber.h"
#include "content/browser/renderer_host/text_input_manager.h"
#include "content/common/content_switches_internal.h"
+#include "content/public/common/content_features.h"
#include "media/base/video_frame.h"
#include "ui/base/layout.h"
#include "ui/display/screen.h"
@@ -40,6 +41,8 @@ RenderWidgetHostViewBase::RenderWidgetHostViewBase()
current_device_scale_factor_(0),
current_display_rotation_(display::Display::ROTATE_0),
text_input_manager_(nullptr),
+ wheel_scroll_latching_enabled_(base::FeatureList::IsEnabled(
bokan 2017/05/18 16:47:00 Why do we need to store this? Can we just query Fe
sahel 2017/05/18 18:15:14 This way we need to include the content_features.h
+ features::kTouchpadAndWheelScrollLatching)),
renderer_frame_number_(0),
weak_factory_(this) {}

Powered by Google App Engine
This is Rietveld 408576698