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

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

Issue 15381003: Use helper DeviceChangeHandler to call mousecontrol/tpcontrol whenever a device is attached. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: GetDefaultProfile Created 7 years, 7 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: chrome/browser/chromeos/login/login_display_host_impl.cc
===================================================================
--- chrome/browser/chromeos/login/login_display_host_impl.cc (revision 202623)
+++ chrome/browser/chromeos/login/login_display_host_impl.cc (working copy)
@@ -43,7 +43,6 @@
#include "chrome/browser/chromeos/mobile_config.h"
#include "chrome/browser/chromeos/policy/auto_enrollment_client.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
-#include "chrome/browser/chromeos/system/input_device_settings.h"
#include "chrome/browser/chromeos/system/statistics_provider.h"
#include "chrome/browser/chromeos/system/timezone_settings.h"
#include "chrome/browser/lifetime/application_lifetime.h"
@@ -810,13 +809,6 @@
manager->GetInputMethodUtil()->GetHardwareInputMethodId();
}
manager->EnableLayouts(locale, initial_input_method_id);
-
- // Apply owner preferences for tap-to-click and mouse buttons swap for
- // login screen.
- system::mouse_settings::SetPrimaryButtonRight(
- prefs->GetBoolean(prefs::kOwnerPrimaryMouseButtonRight));
- system::touchpad_settings::SetTapToClick(
- prefs->GetBoolean(prefs::kOwnerTapToClickEnabled));
}
ui::SetNaturalScroll(CommandLine::ForCurrentProcess()->HasSwitch(
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/system/device_change_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698