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

Unified Diff: trunk/src/chrome/browser/chromeos/login/login_display_host_impl.cc

Issue 52223002: Revert 231699 "Remove kNaturalScrollDefault." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
Index: trunk/src/chrome/browser/chromeos/login/login_display_host_impl.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/login/login_display_host_impl.cc (revision 231778)
+++ trunk/src/chrome/browser/chromeos/login/login_display_host_impl.cc (working copy)
@@ -66,6 +66,7 @@
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animation_observer.h"
#include "ui/compositor/scoped_layer_animation_settings.h"
+#include "ui/events/event_utils.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/transform.h"
#include "ui/views/focus/focus_manager.h"
@@ -920,6 +921,9 @@
prefs->GetBoolean(prefs::kOwnerTapToClickEnabled));
}
+ ui::SetNaturalScroll(CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kNaturalScrollDefault));
+
gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
// Check whether we need to execute OOBE process.
« no previous file with comments | « trunk/src/chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | trunk/src/chrome/browser/chromeos/preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698