From d53d849311746e2443b633b46ea20f13e4fc4481 Mon Sep 17 00:00:00 2001 From: "mhm@chromium.org" Date: Tue, 14 Jul 2009 01:51:32 +0000 Subject: 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 --- chrome/browser/child_process_security_policy.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/child_process_security_policy.cc') 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); } -- cgit v1.1