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. |