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

Side by Side Diff: chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc

Issue 1125113002: Remove the unused parts of PPB_PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-delete-pdf
Patch Set: Created 5 years, 7 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h" 5 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h"
6 6
7 #include "chrome/browser/download/download_stats.h" 7 #include "chrome/browser/download/download_stats.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_finder.h" 9 #include "chrome/browser/ui/browser_finder.h"
10 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 void ChromePDFWebContentsHelperClient::OnPDFHasUnsupportedFeature( 64 void ChromePDFWebContentsHelperClient::OnPDFHasUnsupportedFeature(
65 content::WebContents* contents) { 65 content::WebContents* contents) {
66 PDFHasUnsupportedFeature(GetWebContentsToUse(contents)); 66 PDFHasUnsupportedFeature(GetWebContentsToUse(contents));
67 } 67 }
68 68
69 void ChromePDFWebContentsHelperClient::OnSaveURL( 69 void ChromePDFWebContentsHelperClient::OnSaveURL(
70 content::WebContents* contents) { 70 content::WebContents* contents) {
71 RecordDownloadSource(DOWNLOAD_INITIATED_BY_PDF_SAVE); 71 RecordDownloadSource(DOWNLOAD_INITIATED_BY_PDF_SAVE);
72 } 72 }
73
74 void ChromePDFWebContentsHelperClient::OnShowPDFPasswordDialog(
75 content::WebContents* contents,
76 const base::string16& prompt,
77 const pdf::PasswordDialogClosedCallback& callback) {
78 ShowPDFPasswordDialog(contents, prompt, callback);
79 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h ('k') | chrome/browser/ui/views/pdf_password_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698