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

Unified Diff: ash/display/display_manager.cc

Issue 42863003: cros: Default to natural scrolling if the internal diplay is a touchscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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
« no previous file with comments | « ash/display/display_info.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index 9ffa6c8408624ac2d33fd856ee37f051143be10a..7ab41fbfe662eb3257eeda7f024d49006f0a9e16 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -898,6 +898,7 @@ gfx::Display DisplayManager::CreateDisplayFromDisplayInfoById(int64 id) {
new_display.SetScaleAndBounds(
display_info.device_scale_factor(), gfx::Rect(bounds_in_native.size()));
new_display.set_rotation(display_info.rotation());
+ new_display.set_touch_support(display_info.touch_support());
return new_display;
}
« no previous file with comments | « ash/display/display_info.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698