| 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/common/accessibility_types.h" | 10 #include "ash/common/accessibility_types.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "components/sync_preferences/pref_service_syncable.h" | 44 #include "components/sync_preferences/pref_service_syncable.h" |
| 45 #include "components/user_manager/known_user.h" | 45 #include "components/user_manager/known_user.h" |
| 46 #include "components/user_manager/user.h" | 46 #include "components/user_manager/user.h" |
| 47 #include "components/user_manager/user_manager.h" | 47 #include "components/user_manager/user_manager.h" |
| 48 #include "content/public/browser/browser_thread.h" | 48 #include "content/public/browser/browser_thread.h" |
| 49 #include "third_party/cros_system_api/dbus/update_engine/dbus-constants.h" | 49 #include "third_party/cros_system_api/dbus/update_engine/dbus-constants.h" |
| 50 #include "third_party/icu/source/i18n/unicode/timezone.h" | 50 #include "third_party/icu/source/i18n/unicode/timezone.h" |
| 51 #include "ui/base/ime/chromeos/extension_ime_util.h" | 51 #include "ui/base/ime/chromeos/extension_ime_util.h" |
| 52 #include "ui/base/ime/chromeos/ime_keyboard.h" | 52 #include "ui/base/ime/chromeos/ime_keyboard.h" |
| 53 #include "ui/base/ime/chromeos/input_method_manager.h" | 53 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 54 #include "ui/chromeos/events/pref_names.h" |
| 54 #include "ui/display/manager/display_manager.h" | 55 #include "ui/display/manager/display_manager.h" |
| 55 #include "ui/events/event_constants.h" | 56 #include "ui/events/event_constants.h" |
| 56 #include "ui/events/event_utils.h" | 57 #include "ui/events/event_utils.h" |
| 57 #include "url/gurl.h" | 58 #include "url/gurl.h" |
| 58 | 59 |
| 59 namespace chromeos { | 60 namespace chromeos { |
| 60 | 61 |
| 61 namespace { | 62 namespace { |
| 62 | 63 |
| 63 static const char kFallbackInputMethodLocale[] = "en-US"; | 64 static const char kFallbackInputMethodLocale[] = "en-US"; |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 touch_hud_projection_enabled_.SetValue(enabled); | 833 touch_hud_projection_enabled_.SetValue(enabled); |
| 833 } | 834 } |
| 834 | 835 |
| 835 void Preferences::ActiveUserChanged(const user_manager::User* active_user) { | 836 void Preferences::ActiveUserChanged(const user_manager::User* active_user) { |
| 836 if (active_user != user_) | 837 if (active_user != user_) |
| 837 return; | 838 return; |
| 838 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); | 839 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); |
| 839 } | 840 } |
| 840 | 841 |
| 841 } // namespace chromeos | 842 } // namespace chromeos |
| OLD | NEW |