summaryrefslogtreecommitdiffstats
path: root/chrome/browser/pdf_unsupported_feature.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 19:22:06 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 19:22:06 +0000
commit07ec1df8020cf3d64e7bb4d385442ef3d7f3ff3b (patch)
treeeca184f296f92be14cea7c60126e8161cfe6e38d /chrome/browser/pdf_unsupported_feature.cc
parent9ee87dab497d4f2139509f2d68b170ee8d4444b5 (diff)
downloadchromium_src-07ec1df8020cf3d64e7bb4d385442ef3d7f3ff3b.zip
chromium_src-07ec1df8020cf3d64e7bb4d385442ef3d7f3ff3b.tar.gz
chromium_src-07ec1df8020cf3d64e7bb4d385442ef3d7f3ff3b.tar.bz2
Disable the use-reader-by-default infobar for now.
Review URL: http://codereview.chromium.org/6397010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/pdf_unsupported_feature.cc')
-rw-r--r--chrome/browser/pdf_unsupported_feature.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/pdf_unsupported_feature.cc b/chrome/browser/pdf_unsupported_feature.cc
index 01dc6d8..5056da2 100644
--- a/chrome/browser/pdf_unsupported_feature.cc
+++ b/chrome/browser/pdf_unsupported_feature.cc
@@ -314,8 +314,13 @@ class PDFUnsupportedFeatureConfirmInfoBarDelegate
return true;
}
+ // Don't show the enable Reader by default info bar for now.
+ /*
OpenUsingReader(tab_contents_, reader_webplugininfo_, this);
return false;
+ */
+ OpenUsingReader(tab_contents_, reader_webplugininfo_, NULL);
+ return true;
}
bool OnNo() {