| 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 // the profile is opened, the process will continue from where it left off. | 534 // the profile is opened, the process will continue from where it left off. |
| 535 // | 535 // |
| 536 // See possible values in external_provider_impl.cc. | 536 // See possible values in external_provider_impl.cc. |
| 537 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 537 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
| 538 | 538 |
| 539 // A boolean pref set to true if the Chrome Web Store icons should be hidden | 539 // A boolean pref set to true if the Chrome Web Store icons should be hidden |
| 540 // from the New Tab Page and app launcher. | 540 // from the New Tab Page and app launcher. |
| 541 const char kHideWebStoreIcon[] = "hide_web_store_icon"; | 541 const char kHideWebStoreIcon[] = "hide_web_store_icon"; |
| 542 | 542 |
| 543 #if defined(OS_CHROMEOS) | 543 #if defined(OS_CHROMEOS) |
| 544 // A dictionary pref to hold the mute setting for all the currently known |
| 545 // audio devices. |
| 546 const char kAudioDevicesMute[] = "settings.audio.devices.mute"; |
| 547 |
| 548 // A dictionary pref storing the volume settings for all the currently known |
| 549 // audio devices. |
| 550 const char kAudioDevicesVolumePercent[] = |
| 551 "settings.audio.devices.volume_percent"; |
| 552 |
| 544 // An integer pref to initially mute volume if 1. This pref is ignored if | 553 // An integer pref to initially mute volume if 1. This pref is ignored if |
| 545 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore | 554 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore |
| 546 // when the policy is lifted the original mute state is restored. | 555 // when the policy is lifted the original mute state is restored. This setting |
| 556 // is here only for migration purposes now. It is being replaced by the |
| 557 // |kAudioDevicesMute| setting. |
| 547 const char kAudioMute[] = "settings.audio.mute"; | 558 const char kAudioMute[] = "settings.audio.mute"; |
| 548 | 559 |
| 549 // A double pref storing the user-requested volume. | 560 // A double pref storing the user-requested volume. This setting is here only |
| 561 // for migration purposes now. It is being replaced by the |
| 562 // |kAudioDevicesVolumePercent| setting. |
| 550 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; | 563 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; |
| 551 | 564 |
| 552 // A boolean pref set to true if touchpad tap-to-click is enabled. | 565 // A boolean pref set to true if touchpad tap-to-click is enabled. |
| 553 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; | 566 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; |
| 554 | 567 |
| 555 // A boolean pref set to true if touchpad tap-dragging is enabled. | 568 // A boolean pref set to true if touchpad tap-dragging is enabled. |
| 556 const char kTapDraggingEnabled[] = "settings.touchpad.enable_tap_dragging"; | 569 const char kTapDraggingEnabled[] = "settings.touchpad.enable_tap_dragging"; |
| 557 | 570 |
| 558 // A boolean pref set to true if touchpad three-finger-click is enabled. | 571 // A boolean pref set to true if touchpad three-finger-click is enabled. |
| 559 const char kEnableTouchpadThreeFingerClick[] = | 572 const char kEnableTouchpadThreeFingerClick[] = |
| (...skipping 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2441 // ping and the time of the last ping. | 2454 // ping and the time of the last ping. |
| 2442 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2455 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
| 2443 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2456 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
| 2444 | 2457 |
| 2445 // A string pref for storing the salt used to compute the pepper device ID. | 2458 // A string pref for storing the salt used to compute the pepper device ID. |
| 2446 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2459 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
| 2447 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2460 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
| 2448 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2461 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
| 2449 | 2462 |
| 2450 } // namespace prefs | 2463 } // namespace prefs |
| OLD | NEW |