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

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

Issue 7631008: Print Preview: Add "print preview" back to about:flags; enable it by default just once. (Closed) Base URL: svn://chrome-svn/chrome/branches/782/src/
Patch Set: '' Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Boolean controlling whether printing is enabled. 522 // Boolean controlling whether printing is enabled.
523 const char kPrintingEnabled[] = "printing.enabled"; 523 const char kPrintingEnabled[] = "printing.enabled";
524 524
525 // String pref to define the default values for print overlays. 525 // String pref to define the default values for print overlays.
526 const char kPrintingPageHeaderLeft[] = "printing.page.header.left"; 526 const char kPrintingPageHeaderLeft[] = "printing.page.header.left";
527 const char kPrintingPageHeaderCenter[] = "printing.page.header.center"; 527 const char kPrintingPageHeaderCenter[] = "printing.page.header.center";
528 const char kPrintingPageHeaderRight[] = "printing.page.header.right"; 528 const char kPrintingPageHeaderRight[] = "printing.page.header.right";
529 const char kPrintingPageFooterLeft[] = "printing.page.footer.left"; 529 const char kPrintingPageFooterLeft[] = "printing.page.footer.left";
530 const char kPrintingPageFooterCenter[] = "printing.page.footer.center"; 530 const char kPrintingPageFooterCenter[] = "printing.page.footer.center";
531 const char kPrintingPageFooterRight[] = "printing.page.footer.right"; 531 const char kPrintingPageFooterRight[] = "printing.page.footer.right";
532
533 // Enable print preview once for supported platforms.
vandebo (ex-Chrome) 2011/08/16 22:38:39 nit: this comment doesn't match the code.
Lei Zhang 2011/08/16 23:36:30 Renamed to enable_print_preview_once. How's that?
534 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
535 const char kPrintingEnablePrintPreview[] = "printing.enable_print_preview";
536 #endif
537
532 #if defined(TOOLKIT_USES_GTK) 538 #if defined(TOOLKIT_USES_GTK)
533 // GTK specific preference on whether we should match the system GTK theme. 539 // GTK specific preference on whether we should match the system GTK theme.
534 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 540 const char kUsesSystemTheme[] = "extensions.theme.use_system";
535 #endif 541 #endif
536 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; 542 const char kCurrentThemePackFilename[] = "extensions.theme.pack";
537 const char kCurrentThemeID[] = "extensions.theme.id"; 543 const char kCurrentThemeID[] = "extensions.theme.id";
538 const char kCurrentThemeImages[] = "extensions.theme.images"; 544 const char kCurrentThemeImages[] = "extensions.theme.images";
539 const char kCurrentThemeColors[] = "extensions.theme.colors"; 545 const char kCurrentThemeColors[] = "extensions.theme.colors";
540 const char kCurrentThemeTints[] = "extensions.theme.tints"; 546 const char kCurrentThemeTints[] = "extensions.theme.tints";
541 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; 547 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties";
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 const char kRegisteredProtocolHandlers[] = 1376 const char kRegisteredProtocolHandlers[] =
1371 "custom_handlers.registered_protocol_handlers"; 1377 "custom_handlers.registered_protocol_handlers";
1372 1378
1373 // List of protocol handlers the user has requested not to be asked about again. 1379 // List of protocol handlers the user has requested not to be asked about again.
1374 const char kIgnoredProtocolHandlers[] = 1380 const char kIgnoredProtocolHandlers[] =
1375 "custom_handlers.ignored_protocol_handlers"; 1381 "custom_handlers.ignored_protocol_handlers";
1376 1382
1377 // Whether user-specified handlers for protocols and content types can be 1383 // Whether user-specified handlers for protocols and content types can be
1378 // specified. 1384 // specified.
1379 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1385 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1386
1380 } // namespace prefs 1387 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698