summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_security_policy.cc
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-14 01:51:32 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-14 01:51:32 +0000
commitd53d849311746e2443b633b46ea20f13e4fc4481 (patch)
tree3c63c7b61f335556da0d0d141079e2c59dd43484 /chrome/browser/child_process_security_policy.cc
parent3ad70eb6fdb20cf77d09d29e8c0e848e80cdd3ad (diff)
downloadchromium_src-d53d849311746e2443b633b46ea20f13e4fc4481.zip
chromium_src-d53d849311746e2443b633b46ea20f13e4fc4481.tar.gz
chromium_src-d53d849311746e2443b633b46ea20f13e4fc4481.tar.bz2
Hookup Print HTML page to the DOM UI for Print Preview and Settings
Depends on initial foundation: http://src.chromium.org/viewvc/chrome?view=rev&revision=19906 And html mockup: http://src.chromium.org/viewvc/chrome?view=rev&revision=19918 BUG=173, 947 TEST=The user will see the print html page as a html test webpage. Review URL: http://codereview.chromium.org/155067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/child_process_security_policy.cc')
-rw-r--r--chrome/browser/child_process_security_policy.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/child_process_security_policy.cc b/chrome/browser/child_process_security_policy.cc
index b3ba538..20130e7 100644
--- a/chrome/browser/child_process_security_policy.cc
+++ b/chrome/browser/child_process_security_policy.cc
@@ -232,6 +232,9 @@ void ChildProcessSecurityPolicy::GrantDOMUIBindings(int renderer_id) {
// DOM UI bindings need the ability to request chrome: URLs.
state->second->GrantScheme(chrome::kChromeUIScheme);
+ // DOM UI bindings need the ability to request print: URLs.
+ state->second->GrantScheme(chrome::kPrintScheme);
+
// DOM UI pages can contain links to file:// URLs.
state->second->GrantScheme(chrome::kFileScheme);
}