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

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

Issue 1368013004: Define Print Preview default printer selection policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tags to DefaultPrinterSelection policy. Created 5 years, 2 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 // Indicates if we've already shown a notification that high contrast 1087 // Indicates if we've already shown a notification that high contrast
1088 // mode is on, recommending high-contrast extensions and themes. 1088 // mode is on, recommending high-contrast extensions and themes.
1089 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; 1089 const char kInvertNotificationShown[] = "invert_notification_version_2_shown";
1090 1090
1091 // Boolean controlling whether printing is enabled. 1091 // Boolean controlling whether printing is enabled.
1092 const char kPrintingEnabled[] = "printing.enabled"; 1092 const char kPrintingEnabled[] = "printing.enabled";
1093 1093
1094 // Boolean controlling whether print preview is disabled. 1094 // Boolean controlling whether print preview is disabled.
1095 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; 1095 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
1096 1096
1097 // A pref holding the value of the policy used to control default destination
1098 // selection in the Print Preview. See DefaultPrinterSelection policy.
1099 const char kPrintPreviewDefaultDestinationSelectionRules[] =
1100 "printing.default_destination_selection_rules";
1101
1097 // An integer pref specifying the fallback behavior for sites outside of content 1102 // An integer pref specifying the fallback behavior for sites outside of content
1098 // packs. One of: 1103 // packs. One of:
1099 // 0: Allow (does nothing) 1104 // 0: Allow (does nothing)
1100 // 1: Warn. 1105 // 1: Warn.
1101 // 2: Block. 1106 // 2: Block.
1102 const char kDefaultSupervisedUserFilteringBehavior[] = 1107 const char kDefaultSupervisedUserFilteringBehavior[] =
1103 "profile.managed.default_filtering_behavior"; 1108 "profile.managed.default_filtering_behavior";
1104 1109
1105 // Whether this user is permitted to create supervised users. 1110 // Whether this user is permitted to create supervised users.
1106 const char kSupervisedUserCreationAllowed[] = 1111 const char kSupervisedUserCreationAllowed[] =
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2186 "supervised_users.whitelists"; 2191 "supervised_users.whitelists";
2187 2192
2188 #if defined(ENABLE_EXTENSIONS) 2193 #if defined(ENABLE_EXTENSIONS)
2189 // Policy that indicates how to handle animated images. 2194 // Policy that indicates how to handle animated images.
2190 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2195 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2191 #endif 2196 #endif
2192 2197
2193 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2198 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2194 2199
2195 } // namespace prefs 2200 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698