| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/preferences.h" | 5 #include "chrome/browser/chromeos/preferences.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/autoclick/autoclick_controller.h" | 9 #include "ash/autoclick/autoclick_controller.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/chromeos/drive/file_system_util.h" | 24 #include "chrome/browser/chromeos/drive/file_system_util.h" |
| 25 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 25 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 26 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 26 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
| 27 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 27 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 28 #include "chrome/browser/chromeos/system/input_device_settings.h" | 28 #include "chrome/browser/chromeos/system/input_device_settings.h" |
| 29 #include "chrome/browser/download/download_prefs.h" | 29 #include "chrome/browser/download/download_prefs.h" |
| 30 #include "chrome/browser/prefs/pref_service_syncable.h" | 30 #include "chrome/browser/prefs/pref_service_syncable.h" |
| 31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
| 32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
| 33 #include "chromeos/chromeos_switches.h" | 33 #include "chromeos/chromeos_switches.h" |
| 34 #include "chromeos/ime/extension_ime_util.h" | |
| 35 #include "chromeos/ime/ime_keyboard.h" | |
| 36 #include "chromeos/ime/input_method_manager.h" | |
| 37 #include "chromeos/system/statistics_provider.h" | 34 #include "chromeos/system/statistics_provider.h" |
| 38 #include "components/feedback/tracing_manager.h" | 35 #include "components/feedback/tracing_manager.h" |
| 39 #include "components/pref_registry/pref_registry_syncable.h" | 36 #include "components/pref_registry/pref_registry_syncable.h" |
| 40 #include "components/user_manager/user.h" | 37 #include "components/user_manager/user.h" |
| 41 #include "third_party/icu/source/i18n/unicode/timezone.h" | 38 #include "third_party/icu/source/i18n/unicode/timezone.h" |
| 42 #include "ui/chromeos/accessibility_types.h" | 39 #include "ui/chromeos/accessibility_types.h" |
| 40 #include "ui/chromeos/ime/extension_ime_util.h" |
| 41 #include "ui/chromeos/ime/ime_keyboard.h" |
| 42 #include "ui/chromeos/ime/input_method_manager.h" |
| 43 #include "ui/events/event_constants.h" | 43 #include "ui/events/event_constants.h" |
| 44 #include "ui/events/event_utils.h" | 44 #include "ui/events/event_utils.h" |
| 45 #include "url/gurl.h" | 45 #include "url/gurl.h" |
| 46 | 46 |
| 47 namespace chromeos { | 47 namespace chromeos { |
| 48 | 48 |
| 49 static const char kFallbackInputMethodLocale[] = "en-US"; | 49 static const char kFallbackInputMethodLocale[] = "en-US"; |
| 50 | 50 |
| 51 Preferences::Preferences() | 51 Preferences::Preferences() |
| 52 : prefs_(NULL), | 52 : prefs_(NULL), |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 touch_hud_projection_enabled_.SetValue(enabled); | 665 touch_hud_projection_enabled_.SetValue(enabled); |
| 666 } | 666 } |
| 667 | 667 |
| 668 void Preferences::ActiveUserChanged(const user_manager::User* active_user) { | 668 void Preferences::ActiveUserChanged(const user_manager::User* active_user) { |
| 669 if (active_user != user_) | 669 if (active_user != user_) |
| 670 return; | 670 return; |
| 671 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); | 671 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); |
| 672 } | 672 } |
| 673 | 673 |
| 674 } // namespace chromeos | 674 } // namespace chromeos |
| OLD | NEW |