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 "ash/magnifier/magnifier_constants.h" | 7 #include "ash/magnifier/magnifier_constants.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "base/chromeos/chromeos_version.h" | 9 #include "base/chromeos/chromeos_version.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "chrome/browser/prefs/pref_service_syncable.h" | 28 #include "chrome/browser/prefs/pref_service_syncable.h" |
29 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 29 #include "chrome/browser/prefs/scoped_user_pref_update.h" |
30 #include "chrome/common/chrome_switches.h" | 30 #include "chrome/common/chrome_switches.h" |
31 #include "chrome/common/pref_names.h" | 31 #include "chrome/common/pref_names.h" |
32 #include "chromeos/chromeos_switches.h" | 32 #include "chromeos/chromeos_switches.h" |
33 #include "chromeos/dbus/dbus_thread_manager.h" | 33 #include "chromeos/dbus/dbus_thread_manager.h" |
34 #include "chromeos/dbus/power_policy_controller.h" | 34 #include "chromeos/dbus/power_policy_controller.h" |
35 #include "chromeos/ime/input_method_manager.h" | 35 #include "chromeos/ime/input_method_manager.h" |
36 #include "chromeos/ime/xkeyboard.h" | 36 #include "chromeos/ime/xkeyboard.h" |
37 #include "components/user_prefs/pref_registry_syncable.h" | 37 #include "components/user_prefs/pref_registry_syncable.h" |
38 #include "third_party/icu/public/i18n/unicode/timezone.h" | 38 #include "third_party/icu/source/i18n/unicode/timezone.h" |
39 #include "ui/base/events/event_constants.h" | 39 #include "ui/base/events/event_constants.h" |
40 #include "ui/base/events/event_utils.h" | 40 #include "ui/base/events/event_utils.h" |
41 #include "url/gurl.h" | 41 #include "url/gurl.h" |
42 | 42 |
43 namespace chromeos { | 43 namespace chromeos { |
44 | 44 |
45 static const char kFallbackInputMethodLocale[] = "en-US"; | 45 static const char kFallbackInputMethodLocale[] = "en-US"; |
46 | 46 |
47 // TODO(achuith): Remove deprecated pref in M31. crbug.com/223480. | 47 // TODO(achuith): Remove deprecated pref in M31. crbug.com/223480. |
48 static const char kEnableTouchpadThreeFingerSwipe[] = | 48 static const char kEnableTouchpadThreeFingerSwipe[] = |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 } | 1051 } |
1052 | 1052 |
1053 void Preferences::OnTouchHudProjectionToggled(bool enabled) { | 1053 void Preferences::OnTouchHudProjectionToggled(bool enabled) { |
1054 if (touch_hud_projection_enabled_.GetValue() == enabled) | 1054 if (touch_hud_projection_enabled_.GetValue() == enabled) |
1055 return; | 1055 return; |
1056 | 1056 |
1057 touch_hud_projection_enabled_.SetValue(enabled); | 1057 touch_hud_projection_enabled_.SetValue(enabled); |
1058 } | 1058 } |
1059 | 1059 |
1060 } // namespace chromeos | 1060 } // namespace chromeos |
OLD | NEW |