Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/common/pref_names.cc

Issue 11859029: Add a policy to hide the Web Store on new tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use 'invisible' CSS class name Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; 521 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
522 522
523 // An integer representing the state of the default apps installation process. 523 // An integer representing the state of the default apps installation process.
524 // This value is persisted in the profile's user preferences because the process 524 // This value is persisted in the profile's user preferences because the process
525 // is async, and the user may have stopped chrome in the middle. The next time 525 // is async, and the user may have stopped chrome in the middle. The next time
526 // the profile is opened, the process will continue from where it left off. 526 // the profile is opened, the process will continue from where it left off.
527 // 527 //
528 // See possible values in external_provider_impl.cc. 528 // See possible values in external_provider_impl.cc.
529 const char kDefaultAppsInstallState[] = "default_apps_install_state"; 529 const char kDefaultAppsInstallState[] = "default_apps_install_state";
530 530
531 // A boolean pref set to true if the Chrome Web Store icons should be hidden
532 // from the New Tab Page.
533 const char kHideWebStoreIcon[] = "hide_web_store_icon";
534
531 #if defined(OS_CHROMEOS) 535 #if defined(OS_CHROMEOS)
532 // An integer pref to initially mute volume if 1. This pref is ignored if 536 // An integer pref to initially mute volume if 1. This pref is ignored if
533 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore 537 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore
534 // when the policy is lifted the original mute state is restored. 538 // when the policy is lifted the original mute state is restored.
535 const char kAudioMute[] = "settings.audio.mute"; 539 const char kAudioMute[] = "settings.audio.mute";
536 540
537 // A double pref storing the user-requested volume. 541 // A double pref storing the user-requested volume.
538 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; 542 const char kAudioVolumePercent[] = "settings.audio.volume_percent";
539 543
540 // A boolean pref set to true if touchpad tap-to-click is enabled. 544 // A boolean pref set to true if touchpad tap-to-click is enabled.
(...skipping 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2238 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2235 2239
2236 #if defined(OS_CHROMEOS) 2240 #if defined(OS_CHROMEOS)
2237 // The RLZ brand code, if enabled. 2241 // The RLZ brand code, if enabled.
2238 const char kRLZBrand[] = "rlz.brand"; 2242 const char kRLZBrand[] = "rlz.brand";
2239 // Whether RLZ pings are disabled. 2243 // Whether RLZ pings are disabled.
2240 const char kRLZDisabled[] = "rlz.disabled"; 2244 const char kRLZDisabled[] = "rlz.disabled";
2241 #endif 2245 #endif
2242 2246
2243 } // namespace prefs 2247 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698