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

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

Issue 2536723007: Removed android scrolling fake mouse moves and device_supports_mouse (Closed)
Patch Set: Made checks mirror what previous logic Created 4 years 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_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 4e00e0974ed3cb8cdd9867e5cb097d6bcd76884d..270bde6510f3221a1cab8084672b7d7a8f2d27e9 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -455,10 +455,6 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
prefs.primary_hover_type =
ui::GetPrimaryHoverType(prefs.available_hover_types);
-#if defined(OS_ANDROID)
- prefs.device_supports_mouse = false;
-#endif
-
prefs.pointer_events_max_touch_points = ui::MaxTouchPoints();
prefs.touch_adjustment_enabled =

Powered by Google App Engine
This is Rietveld 408576698