diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-03 12:13:48 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-03 12:13:48 +0000 |
commit | a21767477fef894a75d0b13a8da3da6cdc2f5e3e (patch) | |
tree | e45f5c969518b6a64ed54fc8d96ba28f4736aae7 /chrome/browser/history | |
parent | 13c68582fc7a22a18cde190d09393912124f75b0 (diff) | |
download | chromium_src-a21767477fef894a75d0b13a8da3da6cdc2f5e3e.zip chromium_src-a21767477fef894a75d0b13a8da3da6cdc2f5e3e.tar.gz chromium_src-a21767477fef894a75d0b13a8da3da6cdc2f5e3e.tar.bz2 |
Foundations for Print Preview and Setup
Create the foundations of implementing a tab for printing should be in the form of:
print:http://www.google.com
I have followed similar approach as what has been done with view-source: and chrome-extension:
BUG=173, 947
TEST=none
Review URL: http://codereview.chromium.org/150207
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
-rw-r--r-- | chrome/browser/history/history.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc index 8c314067..aa004b4 100644 --- a/chrome/browser/history/history.cc +++ b/chrome/browser/history/history.cc @@ -593,7 +593,8 @@ bool HistoryService::CanAddURL(const GURL& url) const { if (url.SchemeIs(chrome::kJavaScriptScheme) || url.SchemeIs(chrome::kChromeUIScheme) || url.SchemeIs(chrome::kViewSourceScheme) || - url.SchemeIs(chrome::kChromeInternalScheme)) + url.SchemeIs(chrome::kChromeInternalScheme) || + url.SchemeIs(chrome::kPrintScheme)) return false; if (url.SchemeIs(chrome::kAboutScheme)) { |