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/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 | 478 |
479 // A integer pref for the touchpad sensitivity. | 479 // A integer pref for the touchpad sensitivity. |
480 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; | 480 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; |
481 | 481 |
482 // A integer pref for the touchpad sensitivity. | 482 // A integer pref for the touchpad sensitivity. |
483 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; | 483 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; |
484 | 484 |
485 // A boolean pref set to true if time should be displayed in 24-hour clock. | 485 // A boolean pref set to true if time should be displayed in 24-hour clock. |
486 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; | 486 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; |
487 | 487 |
| 488 // This setting disables manual timezone selection and starts periodic timezone |
| 489 // refresh. |
| 490 const char kResolveTimezoneByGeolocation[] = |
| 491 "settings.resolve_timezone_by_geolocation"; |
| 492 |
488 // A boolean pref to disable Google Drive integration. | 493 // A boolean pref to disable Google Drive integration. |
489 // The pref prefix should remain as "gdata" for backward compatibility. | 494 // The pref prefix should remain as "gdata" for backward compatibility. |
490 const char kDisableDrive[] = "gdata.disabled"; | 495 const char kDisableDrive[] = "gdata.disabled"; |
491 | 496 |
492 // A boolean pref to disable Drive over cellular connections. | 497 // A boolean pref to disable Drive over cellular connections. |
493 // The pref prefix should remain as "gdata" for backward compatibility. | 498 // The pref prefix should remain as "gdata" for backward compatibility. |
494 const char kDisableDriveOverCellular[] = "gdata.cellular.disabled"; | 499 const char kDisableDriveOverCellular[] = "gdata.cellular.disabled"; |
495 | 500 |
496 // A boolean pref to disable hosted files on Drive. | 501 // A boolean pref to disable hosted files on Drive. |
497 // The pref prefix should remain as "gdata" for backward compatibility. | 502 // The pref prefix should remain as "gdata" for backward compatibility. |
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1949 const char kMessageCenterShowedFirstRunBalloon[] = | 1954 const char kMessageCenterShowedFirstRunBalloon[] = |
1950 "message_center.showed_first_run_balloon"; | 1955 "message_center.showed_first_run_balloon"; |
1951 | 1956 |
1952 // Boolean recording whether the user has disabled the notifications | 1957 // Boolean recording whether the user has disabled the notifications |
1953 // menubar or systray icon. | 1958 // menubar or systray icon. |
1954 const char kMessageCenterShowIcon[] = "message_center.show_icon"; | 1959 const char kMessageCenterShowIcon[] = "message_center.show_icon"; |
1955 | 1960 |
1956 const char kMessageCenterForcedOnTaskbar[] = | 1961 const char kMessageCenterForcedOnTaskbar[] = |
1957 "message_center.was_forced_on_taskbar"; | 1962 "message_center.was_forced_on_taskbar"; |
1958 | 1963 |
| 1964 #if defined(OS_CHROMEOS) |
| 1965 // This setting starts periodic timezone refresh when not in user session. |
| 1966 // (user session is controlled by user profile preference |
| 1967 // kResolveTimezoneByGeolocation |
| 1968 const char kResolveDeviceTimezoneByGeolocation[] = |
| 1969 "settings.resolve_device_timezone_by_geolocation"; |
| 1970 #endif // defined(OS_CHROMEOS) |
| 1971 |
1959 // *************** SERVICE PREFS *************** | 1972 // *************** SERVICE PREFS *************** |
1960 // These are attached to the service process. | 1973 // These are attached to the service process. |
1961 | 1974 |
1962 const char kCloudPrintRoot[] = "cloud_print"; | 1975 const char kCloudPrintRoot[] = "cloud_print"; |
1963 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 1976 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
1964 // The unique id for this instance of the cloud print proxy. | 1977 // The unique id for this instance of the cloud print proxy. |
1965 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; | 1978 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; |
1966 // The GAIA auth token for Cloud Print | 1979 // The GAIA auth token for Cloud Print |
1967 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; | 1980 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; |
1968 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server | 1981 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2265 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; | 2278 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; |
2266 | 2279 |
2267 // Last user's interaction with the password bubble. | 2280 // Last user's interaction with the password bubble. |
2268 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; | 2281 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; |
2269 | 2282 |
2270 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. | 2283 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. |
2271 const char kRecoveryComponentNeedsElevation[] = | 2284 const char kRecoveryComponentNeedsElevation[] = |
2272 "recovery_component.needs_elevation"; | 2285 "recovery_component.needs_elevation"; |
2273 | 2286 |
2274 } // namespace prefs | 2287 } // namespace prefs |
OLD | NEW |