| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 | 520 |
| 521 // A integer pref for the touchpad sensitivity. | 521 // A integer pref for the touchpad sensitivity. |
| 522 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; | 522 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; |
| 523 | 523 |
| 524 // A integer pref for the touchpad sensitivity. | 524 // A integer pref for the touchpad sensitivity. |
| 525 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; | 525 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; |
| 526 | 526 |
| 527 // A boolean pref set to true if time should be displayed in 24-hour clock. | 527 // A boolean pref set to true if time should be displayed in 24-hour clock. |
| 528 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; | 528 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; |
| 529 | 529 |
| 530 // A string pref containing Timezone ID for this user. |
| 531 const char kUserTimezone[] = "settings.timezone"; |
| 532 |
| 530 // This setting disables manual timezone selection and starts periodic timezone | 533 // This setting disables manual timezone selection and starts periodic timezone |
| 531 // refresh. | 534 // refresh. |
| 532 const char kResolveTimezoneByGeolocation[] = | 535 const char kResolveTimezoneByGeolocation[] = |
| 533 "settings.resolve_timezone_by_geolocation"; | 536 "settings.resolve_timezone_by_geolocation"; |
| 534 | 537 |
| 535 // A string pref set to the current input method. | 538 // A string pref set to the current input method. |
| 536 const char kLanguageCurrentInputMethod[] = | 539 const char kLanguageCurrentInputMethod[] = |
| 537 "settings.language.current_input_method"; | 540 "settings.language.current_input_method"; |
| 538 | 541 |
| 539 // A string pref set to the previous input method. | 542 // A string pref set to the previous input method. |
| (...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1997 // Defaults to false. | 2000 // Defaults to false. |
| 1998 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; | 2001 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; |
| 1999 | 2002 |
| 2000 // Indicates that factory reset was requested from options page or reset screen. | 2003 // Indicates that factory reset was requested from options page or reset screen. |
| 2001 const char kFactoryResetRequested[] = "FactoryResetRequested"; | 2004 const char kFactoryResetRequested[] = "FactoryResetRequested"; |
| 2002 | 2005 |
| 2003 // Indicates that debugging features were requested from oobe screen. | 2006 // Indicates that debugging features were requested from oobe screen. |
| 2004 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; | 2007 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; |
| 2005 | 2008 |
| 2006 #if defined(OS_CHROMEOS) | 2009 #if defined(OS_CHROMEOS) |
| 2010 // This setting controlls initial device timezone that is used before user |
| 2011 // session started. It is controlled by device owner. |
| 2012 const char kSigninScreenTimezone[] = "settings.signin_screen_timezone"; |
| 2013 |
| 2007 // This setting starts periodic timezone refresh when not in user session. | 2014 // This setting starts periodic timezone refresh when not in user session. |
| 2008 // (user session is controlled by user profile preference | 2015 // (user session is controlled by user profile preference |
| 2009 // kResolveTimezoneByGeolocation | 2016 // kResolveTimezoneByGeolocation |
| 2010 const char kResolveDeviceTimezoneByGeolocation[] = | 2017 const char kResolveDeviceTimezoneByGeolocation[] = |
| 2011 "settings.resolve_device_timezone_by_geolocation"; | 2018 "settings.resolve_device_timezone_by_geolocation"; |
| 2012 | 2019 |
| 2013 // This is policy-controlled preference. | 2020 // This is policy-controlled preference. |
| 2014 // It has values defined in policy enum | 2021 // It has values defined in policy enum |
| 2015 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; | 2022 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; |
| 2016 const char kSystemTimezoneAutomaticDetectionPolicy[] = | 2023 const char kSystemTimezoneAutomaticDetectionPolicy[] = |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2544 "settings_reset_prompt.last_triggered_for_homepage"; | 2551 "settings_reset_prompt.last_triggered_for_homepage"; |
| 2545 | 2552 |
| 2546 #if defined(OS_ANDROID) | 2553 #if defined(OS_ANDROID) |
| 2547 // Timestamp of the clipboard's last modified time, stored in base::Time's | 2554 // Timestamp of the clipboard's last modified time, stored in base::Time's |
| 2548 // internal format (int64) in local store. (I.e., this is not a per-profile | 2555 // internal format (int64) in local store. (I.e., this is not a per-profile |
| 2549 // pref.) | 2556 // pref.) |
| 2550 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; | 2557 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; |
| 2551 #endif | 2558 #endif |
| 2552 | 2559 |
| 2553 } // namespace prefs | 2560 } // namespace prefs |
| OLD | NEW |