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

Unified Diff: chrome/browser/chromeos/login/base_login_display_host.cc

Issue 11827006: Enable natural scroll by default on OOBE. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/base_login_display_host.cc
===================================================================
--- chrome/browser/chromeos/login/base_login_display_host.cc (revision 175548)
+++ chrome/browser/chromeos/login/base_login_display_host.cc (working copy)
@@ -44,6 +44,7 @@
#include "content/public/browser/notification_types.h"
#include "googleurl/src/gurl.h"
#include "ui/aura/window.h"
+#include "ui/base/events/event_utils.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animation_element.h"
@@ -402,6 +403,9 @@
prefs->GetBoolean(prefs::kOwnerTapToClickEnabled));
}
+ ui::SetNaturalScroll(CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kNaturalScrollDefault));
+
gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(size));
// Check whether we need to execute OOBE process.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698