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/magnifier/magnifier_constants.h" | 10 #include "ash/magnifier/magnifier_constants.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "chrome/browser/download/download_prefs.h" | 30 #include "chrome/browser/download/download_prefs.h" |
31 #include "chrome/browser/prefs/pref_service_syncable.h" | 31 #include "chrome/browser/prefs/pref_service_syncable.h" |
32 #include "chrome/common/chrome_switches.h" | 32 #include "chrome/common/chrome_switches.h" |
33 #include "chrome/common/pref_names.h" | 33 #include "chrome/common/pref_names.h" |
34 #include "chromeos/chromeos_switches.h" | 34 #include "chromeos/chromeos_switches.h" |
35 #include "chromeos/ime/extension_ime_util.h" | 35 #include "chromeos/ime/extension_ime_util.h" |
36 #include "chromeos/ime/ime_keyboard.h" | 36 #include "chromeos/ime/ime_keyboard.h" |
37 #include "chromeos/ime/input_method_manager.h" | 37 #include "chromeos/ime/input_method_manager.h" |
38 #include "chromeos/system/statistics_provider.h" | 38 #include "chromeos/system/statistics_provider.h" |
39 #include "components/feedback/tracing_manager.h" | 39 #include "components/feedback/tracing_manager.h" |
40 #include "components/user_prefs/pref_registry_syncable.h" | 40 #include "components/pref_registry/pref_registry_syncable.h" |
41 #include "third_party/icu/source/i18n/unicode/timezone.h" | 41 #include "third_party/icu/source/i18n/unicode/timezone.h" |
42 #include "ui/events/event_constants.h" | 42 #include "ui/events/event_constants.h" |
43 #include "ui/events/event_utils.h" | 43 #include "ui/events/event_utils.h" |
44 #include "url/gurl.h" | 44 #include "url/gurl.h" |
45 | 45 |
46 namespace chromeos { | 46 namespace chromeos { |
47 | 47 |
48 static const char kFallbackInputMethodLocale[] = "en-US"; | 48 static const char kFallbackInputMethodLocale[] = "en-US"; |
49 | 49 |
50 Preferences::Preferences() | 50 Preferences::Preferences() |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 touch_hud_projection_enabled_.SetValue(enabled); | 641 touch_hud_projection_enabled_.SetValue(enabled); |
642 } | 642 } |
643 | 643 |
644 void Preferences::ActiveUserChanged(const User* active_user) { | 644 void Preferences::ActiveUserChanged(const User* active_user) { |
645 if (active_user != user_) | 645 if (active_user != user_) |
646 return; | 646 return; |
647 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); | 647 ApplyPreferences(REASON_ACTIVE_USER_CHANGED, ""); |
648 } | 648 } |
649 | 649 |
650 } // namespace chromeos | 650 } // namespace chromeos |
OLD | NEW |