diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 14:48:29 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 14:48:29 +0000 |
commit | f54e87921fc837e49a8bfd92f21005415c29ef27 (patch) | |
tree | 67a5b6f0e9b5c8b4108651b4f1fb92d1abe6097b | |
parent | 23092c81519c434eb8e451899000a769fd142855 (diff) | |
download | chromium_src-f54e87921fc837e49a8bfd92f21005415c29ef27.zip chromium_src-f54e87921fc837e49a8bfd92f21005415c29ef27.tar.gz chromium_src-f54e87921fc837e49a8bfd92f21005415c29ef27.tar.bz2 |
Add URL constants and command-line switches for ongoing print preview work.
BUG=173
TEST=none
Review URL: http://codereview.chromium.org/2256001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48274 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 | ||||
-rw-r--r-- | chrome/common/url_constants.cc | 2 | ||||
-rw-r--r-- | chrome/common/url_constants.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index fece52f..4723d5d 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -327,6 +327,9 @@ const char kEnablePreconnect[] = "enable-preconnect"; // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; +// Enable print preview (work in progress). +const char kEnablePrintPreview[] = "enable-print-preview"; + // Enable Privacy Blacklists. const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 71b6afb..54534ea 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -108,6 +108,7 @@ extern const char kEnableNaCl[]; extern const char kEnableNativeWebWorkers[]; extern const char kEnablePreparsedJsCaching[]; extern const char kEnablePreconnect[]; +extern const char kEnablePrintPreview[]; extern const char kEnablePrivacyBlacklists[]; extern const char kEnableRendererAccessibility[]; extern const char kEnableStatsTable[]; diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 70bdfc1..04901a3 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -59,6 +59,7 @@ const char kChromeUIDownloadsURL[] = "chrome://downloads/"; const char kChromeUIExtensionsURL[] = "chrome://extensions/"; const char kChromeUIHistoryURL[] = "chrome://history/"; const char kChromeUIPluginsURL[] = "chrome://plugins/"; +const char kChromeUIPrintURL[] = "chrome://print/"; const char kChromeUIFavIconURL[] = "chrome://favicon/"; const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/"; const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; @@ -74,6 +75,7 @@ const char kChromeUIExtensionsHost[] = "extensions"; const char kChromeUIFavIconHost[] = "favicon"; const char kChromeUIHistoryHost[] = "history"; const char kChromeUIPluginsHost[] = "plugins"; +const char kChromeUIPrintHost[] = "print"; const char kChromeUIResourcesHost[] = "resources"; const char kChromeUIFileBrowseHost[] = "filebrowse"; const char kChromeUIMediaplayerHost[] = "mediaplayer"; diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index b58d8d7..75d698c 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -55,6 +55,7 @@ extern const char kChromeUIDownloadsURL[]; extern const char kChromeUIExtensionsURL[]; extern const char kChromeUIHistoryURL[]; extern const char kChromeUIPluginsURL[]; +extern const char kChromeUIPrintURL[]; extern const char kChromeUIFavIconURL[]; extern const char kChromeUIFileBrowseURL[]; extern const char kChromeUIMediaplayerURL[]; @@ -72,6 +73,7 @@ extern const char kChromeUIExtensionsHost[]; extern const char kChromeUIFavIconHost[]; extern const char kChromeUIHistoryHost[]; extern const char kChromeUIPluginsHost[]; +extern const char kChromeUIPrintHost[]; extern const char kChromeUIResourcesHost[]; extern const char kChromeUIFileBrowseHost[]; extern const char kChromeUIMediaplayerHost[]; |