summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_launcher.cc
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 16:21:27 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 16:21:27 +0000
commitda8cb193edebc8dc78a422df2633340e6a606cde (patch)
treead529c5ade25a5c05198197f38a35c1fdd245001 /chrome_frame/chrome_launcher.cc
parent3b250964a2bc37d956755173fe983a3c17f5951a (diff)
downloadchromium_src-da8cb193edebc8dc78a422df2633340e6a606cde.zip
chromium_src-da8cb193edebc8dc78a422df2633340e6a606cde.tar.gz
chromium_src-da8cb193edebc8dc78a422df2633340e6a606cde.tar.bz2
Disable Chrome's print preview in Chrome Frame.
BUG=95568 TEST=do something on a page that calls window.print(); expect IE's print dialog to appear. should be covered by new test in chrome_frame_tests.exe. Review URL: http://codereview.chromium.org/9350044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_launcher.cc')
-rw-r--r--chrome_frame/chrome_launcher.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/chrome_launcher.cc b/chrome_frame/chrome_launcher.cc
index d89fd8a..e943c7f 100644
--- a/chrome_frame/chrome_launcher.cc
+++ b/chrome_frame/chrome_launcher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -23,6 +23,7 @@ const wchar_t* kAllowedSwitches[] = {
L"chrome-version",
L"disable-background-mode",
L"disable-popup-blocking",
+ L"disable-print-preview",
L"disable-renderer-accessibility",
L"enable-experimental-extension-apis",
L"force-renderer-accessibility",