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

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: rebase 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c3646ba8efe6ff77278b3eb7cafdaeb247c90808..c295c25bbbadb4d27bc694965041e7cce458864b 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -466,8 +466,6 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
ui::GetPrimaryHoverType(prefs.available_hover_types);
#if defined(OS_ANDROID)
- prefs.device_supports_mouse = false;
-
prefs.video_fullscreen_orientation_lock_enabled =
base::FeatureList::IsEnabled(media::kVideoFullscreenOrientationLock) &&
ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_PHONE;
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698