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 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1966 const char kMessageCenterShowedFirstRunBalloon[] = | 1971 const char kMessageCenterShowedFirstRunBalloon[] = |
1967 "message_center.showed_first_run_balloon"; | 1972 "message_center.showed_first_run_balloon"; |
1968 | 1973 |
1969 // Boolean recording whether the user has disabled the notifications | 1974 // Boolean recording whether the user has disabled the notifications |
1970 // menubar or systray icon. | 1975 // menubar or systray icon. |
1971 const char kMessageCenterShowIcon[] = "message_center.show_icon"; | 1976 const char kMessageCenterShowIcon[] = "message_center.show_icon"; |
1972 | 1977 |
1973 const char kMessageCenterForcedOnTaskbar[] = | 1978 const char kMessageCenterForcedOnTaskbar[] = |
1974 "message_center.was_forced_on_taskbar"; | 1979 "message_center.was_forced_on_taskbar"; |
1975 | 1980 |
| 1981 #if defined(OS_CHROMEOS) |
| 1982 // This setting starts periodic timezone refresh when not in user session. |
| 1983 // (user session is controlled by user profile preference |
| 1984 // kResolveTimezoneByGeolocation |
| 1985 const char kResolveDeviceTimezoneByGeolocation[] = |
| 1986 "settings.resolve_device_timezone_by_geolocation"; |
| 1987 #endif // defined(OS_CHROMEOS) |
| 1988 |
1976 // *************** SERVICE PREFS *************** | 1989 // *************** SERVICE PREFS *************** |
1977 // These are attached to the service process. | 1990 // These are attached to the service process. |
1978 | 1991 |
1979 const char kCloudPrintRoot[] = "cloud_print"; | 1992 const char kCloudPrintRoot[] = "cloud_print"; |
1980 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 1993 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
1981 // The unique id for this instance of the cloud print proxy. | 1994 // The unique id for this instance of the cloud print proxy. |
1982 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; | 1995 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; |
1983 // The GAIA auth token for Cloud Print | 1996 // The GAIA auth token for Cloud Print |
1984 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; | 1997 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; |
1985 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server | 1998 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2278 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; | 2291 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; |
2279 | 2292 |
2280 // Last user's interaction with the password bubble. | 2293 // Last user's interaction with the password bubble. |
2281 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; | 2294 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; |
2282 | 2295 |
2283 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. | 2296 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. |
2284 const char kRecoveryComponentNeedsElevation[] = | 2297 const char kRecoveryComponentNeedsElevation[] = |
2285 "recovery_component.needs_elevation"; | 2298 "recovery_component.needs_elevation"; |
2286 | 2299 |
2287 } // namespace prefs | 2300 } // namespace prefs |
OLD | NEW |