Chromium Code Reviews| 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/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
| 10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 540 | 540 |
| 541 // A integer pref for the touchpad sensitivity. | 541 // A integer pref for the touchpad sensitivity. |
| 542 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; | 542 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; |
| 543 | 543 |
| 544 // A integer pref for the touchpad sensitivity. | 544 // A integer pref for the touchpad sensitivity. |
| 545 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; | 545 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; |
| 546 | 546 |
| 547 // A boolean pref set to true if time should be displayed in 24-hour clock. | 547 // A boolean pref set to true if time should be displayed in 24-hour clock. |
| 548 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; | 548 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; |
| 549 | 549 |
| 550 // A string pref containing Timezone ID for this user. | |
| 551 const char kUserTimezone[] = "settings.timezone"; | |
| 552 | |
| 550 // This setting disables manual timezone selection and starts periodic timezone | 553 // This setting disables manual timezone selection and starts periodic timezone |
| 551 // refresh. | 554 // refresh. |
| 552 const char kResolveTimezoneByGeolocation[] = | 555 const char kResolveTimezoneByGeolocation[] = |
| 553 "settings.resolve_timezone_by_geolocation"; | 556 "settings.resolve_timezone_by_geolocation"; |
| 554 | 557 |
| 555 // A string pref set to the current input method. | 558 // A string pref set to the current input method. |
| 556 const char kLanguageCurrentInputMethod[] = | 559 const char kLanguageCurrentInputMethod[] = |
| 557 "settings.language.current_input_method"; | 560 "settings.language.current_input_method"; |
| 558 | 561 |
| 559 // A string pref set to the previous input method. | 562 // A string pref set to the previous input method. |
| (...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2015 // Defaults to false. | 2018 // Defaults to false. |
| 2016 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; | 2019 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; |
| 2017 | 2020 |
| 2018 // Indicates that factory reset was requested from options page or reset screen. | 2021 // Indicates that factory reset was requested from options page or reset screen. |
| 2019 const char kFactoryResetRequested[] = "FactoryResetRequested"; | 2022 const char kFactoryResetRequested[] = "FactoryResetRequested"; |
| 2020 | 2023 |
| 2021 // Indicates that debugging features were requested from oobe screen. | 2024 // Indicates that debugging features were requested from oobe screen. |
| 2022 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; | 2025 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; |
| 2023 | 2026 |
| 2024 #if defined(OS_CHROMEOS) | 2027 #if defined(OS_CHROMEOS) |
| 2028 // This setting controlls initial device timezone that is used before user | |
|
michaelpg
2017/07/24 06:57:40
controls
Alexander Alekseev
2017/07/29 06:10:16
Done.
| |
| 2029 // session started. It is controlled by device owner. | |
| 2030 const char kSigninScreenTimezone[] = "settings.signin_screen_timezone"; | |
| 2031 | |
| 2025 // This setting starts periodic timezone refresh when not in user session. | 2032 // This setting starts periodic timezone refresh when not in user session. |
| 2026 // (user session is controlled by user profile preference | 2033 // (user session is controlled by user profile preference |
| 2027 // kResolveTimezoneByGeolocation | 2034 // kResolveTimezoneByGeolocation |
| 2028 const char kResolveDeviceTimezoneByGeolocation[] = | 2035 const char kResolveDeviceTimezoneByGeolocation[] = |
| 2029 "settings.resolve_device_timezone_by_geolocation"; | 2036 "settings.resolve_device_timezone_by_geolocation"; |
| 2030 | 2037 |
| 2031 // This is policy-controlled preference. | 2038 // This is policy-controlled preference. |
| 2032 // It has values defined in policy enum | 2039 // It has values defined in policy enum |
| 2033 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; | 2040 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; |
| 2034 const char kSystemTimezoneAutomaticDetectionPolicy[] = | 2041 const char kSystemTimezoneAutomaticDetectionPolicy[] = |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2595 // Accumulated counters of days with specified Chrome usage. When there is | 2602 // Accumulated counters of days with specified Chrome usage. When there is |
| 2596 // likely a network connection, these counters are reported via UMA and reset. | 2603 // likely a network connection, these counters are reported via UMA and reset. |
| 2597 const char kOfflineUsageUnusedCount[] = "offline_pages.unused_count"; | 2604 const char kOfflineUsageUnusedCount[] = "offline_pages.unused_count"; |
| 2598 const char kOfflineUsageStartedCount[] = "offline_pages.started_count"; | 2605 const char kOfflineUsageStartedCount[] = "offline_pages.started_count"; |
| 2599 const char kOfflineUsageOfflineCount[] = "offline_pages.offline_count"; | 2606 const char kOfflineUsageOfflineCount[] = "offline_pages.offline_count"; |
| 2600 const char kOfflineUsageOnlineCount[] = "offline_pages.online_count"; | 2607 const char kOfflineUsageOnlineCount[] = "offline_pages.online_count"; |
| 2601 const char kOfflineUsageMixedCount[] = "offline_pages.mixed_count"; | 2608 const char kOfflineUsageMixedCount[] = "offline_pages.mixed_count"; |
| 2602 #endif | 2609 #endif |
| 2603 | 2610 |
| 2604 } // namespace prefs | 2611 } // namespace prefs |
| OLD | NEW |