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

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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/print_web_view_helper_browsertest.cc » ('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) 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 // Boolean value that is set to true if print preview has been enabled once for
534 // supported platforms.
535 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
536 const char kPrintingPrintPreviewEnabledOnce[] =
537 "printing.print_preview_enabled_once";
538 #endif
539
532 #if defined(TOOLKIT_USES_GTK) 540 #if defined(TOOLKIT_USES_GTK)
533 // GTK specific preference on whether we should match the system GTK theme. 541 // GTK specific preference on whether we should match the system GTK theme.
534 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 542 const char kUsesSystemTheme[] = "extensions.theme.use_system";
535 #endif 543 #endif
536 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; 544 const char kCurrentThemePackFilename[] = "extensions.theme.pack";
537 const char kCurrentThemeID[] = "extensions.theme.id"; 545 const char kCurrentThemeID[] = "extensions.theme.id";
538 const char kCurrentThemeImages[] = "extensions.theme.images"; 546 const char kCurrentThemeImages[] = "extensions.theme.images";
539 const char kCurrentThemeColors[] = "extensions.theme.colors"; 547 const char kCurrentThemeColors[] = "extensions.theme.colors";
540 const char kCurrentThemeTints[] = "extensions.theme.tints"; 548 const char kCurrentThemeTints[] = "extensions.theme.tints";
541 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; 549 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties";
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 const char kRegisteredProtocolHandlers[] = 1378 const char kRegisteredProtocolHandlers[] =
1371 "custom_handlers.registered_protocol_handlers"; 1379 "custom_handlers.registered_protocol_handlers";
1372 1380
1373 // List of protocol handlers the user has requested not to be asked about again. 1381 // List of protocol handlers the user has requested not to be asked about again.
1374 const char kIgnoredProtocolHandlers[] = 1382 const char kIgnoredProtocolHandlers[] =
1375 "custom_handlers.ignored_protocol_handlers"; 1383 "custom_handlers.ignored_protocol_handlers";
1376 1384
1377 // Whether user-specified handlers for protocols and content types can be 1385 // Whether user-specified handlers for protocols and content types can be
1378 // specified. 1386 // specified.
1379 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1387 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1388
1380 } // namespace prefs 1389 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/print_web_view_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698