Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1275)

Unified Diff: chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc

Issue 2518493002: Remove obsolete plugin state handling code. (Closed)
Patch Set: Removed unusued function. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/pdf/adobe_reader_info_win.cc ('k') | chrome/browser/ui/pdf/pdf_unsupported_feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
diff --git a/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc b/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
index f0c165bd6d07b53d754ed9bd9e3d5cf9855fc16e..2fedeac10ccf8471fb7c145f21e94732ae414c5d 100644
--- a/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
+++ b/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
@@ -9,7 +9,6 @@
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/location_bar/location_bar.h"
-#include "chrome/browser/ui/pdf/pdf_unsupported_feature.h"
#include "chrome/browser/ui/tab_contents/core_tab_helper.h"
#include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h"
@@ -63,7 +62,8 @@ void ChromePDFWebContentsHelperClient::UpdateContentRestrictions(
void ChromePDFWebContentsHelperClient::OnPDFHasUnsupportedFeature(
content::WebContents* contents) {
- PDFHasUnsupportedFeature(GetWebContentsToUse(contents));
+ // There is no more Adobe pluging for PDF so there is not much we can do in
+ // this case. Maybe simply download the file.
}
void ChromePDFWebContentsHelperClient::OnSaveURL(
« no previous file with comments | « chrome/browser/ui/pdf/adobe_reader_info_win.cc ('k') | chrome/browser/ui/pdf/pdf_unsupported_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698