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

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: 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
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 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 // Indicates if we've already shown a notification that high contrast 1091 // Indicates if we've already shown a notification that high contrast
1092 // mode is on, recommending high-contrast extensions and themes. 1092 // mode is on, recommending high-contrast extensions and themes.
1093 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; 1093 const char kInvertNotificationShown[] = "invert_notification_version_2_shown";
1094 1094
1095 // Boolean controlling whether printing is enabled. 1095 // Boolean controlling whether printing is enabled.
1096 const char kPrintingEnabled[] = "printing.enabled"; 1096 const char kPrintingEnabled[] = "printing.enabled";
1097 1097
1098 // Boolean controlling whether print preview is disabled. 1098 // Boolean controlling whether print preview is disabled.
1099 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; 1099 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
1100 1100
1101 // A pref holding the value of the policy used to control default destination
1102 // selection in the Print Preview.
1103 // See PrintPreviewDefaultPrinterSelection policy.
1104 const char kPrintPreviewDefaultDestinationSelectionRules[] =
1105 "printing.default_destination_selection_rules";
1106
1101 // An integer pref specifying the fallback behavior for sites outside of content 1107 // An integer pref specifying the fallback behavior for sites outside of content
1102 // packs. One of: 1108 // packs. One of:
1103 // 0: Allow (does nothing) 1109 // 0: Allow (does nothing)
1104 // 1: Warn. 1110 // 1: Warn.
1105 // 2: Block. 1111 // 2: Block.
1106 const char kDefaultSupervisedUserFilteringBehavior[] = 1112 const char kDefaultSupervisedUserFilteringBehavior[] =
1107 "profile.managed.default_filtering_behavior"; 1113 "profile.managed.default_filtering_behavior";
1108 1114
1109 // Whether this user is permitted to create supervised users. 1115 // Whether this user is permitted to create supervised users.
1110 const char kSupervisedUserCreationAllowed[] = 1116 const char kSupervisedUserCreationAllowed[] =
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 "supervised_users.whitelists"; 2236 "supervised_users.whitelists";
2231 2237
2232 #if defined(ENABLE_EXTENSIONS) 2238 #if defined(ENABLE_EXTENSIONS)
2233 // Policy that indicates how to handle animated images. 2239 // Policy that indicates how to handle animated images.
2234 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2240 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2235 #endif 2241 #endif
2236 2242
2237 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2243 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2238 2244
2239 } // namespace prefs 2245 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698