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

Side by Side Diff: components/pdf/browser/pdf_web_contents_helper.h

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
« no previous file with comments | « components/pdf.gypi ('k') | components/pdf/browser/pdf_web_contents_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ 5 #ifndef COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_
6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ 6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // content::WebContentsObserver overrides: 45 // content::WebContentsObserver overrides:
46 bool OnMessageReceived(const IPC::Message& message) override; 46 bool OnMessageReceived(const IPC::Message& message) override;
47 void DidNavigateMainFrame( 47 void DidNavigateMainFrame(
48 const content::LoadCommittedDetails& details, 48 const content::LoadCommittedDetails& details,
49 const content::FrameNavigateParams& params) override; 49 const content::FrameNavigateParams& params) override;
50 50
51 // Internal helpers ---------------------------------------------------------- 51 // Internal helpers ----------------------------------------------------------
52 52
53 void UpdateLocationBar(); 53 void UpdateLocationBar();
54 void OnModalPromptForPasswordClosed(IPC::Message* reply_message,
55 bool success,
56 const base::string16& actual_value);
57 54
58 // Message handlers. 55 // Message handlers.
59 void OnHasUnsupportedFeature(); 56 void OnHasUnsupportedFeature();
60 void OnSaveURLAs(const GURL& url, const content::Referrer& referrer); 57 void OnSaveURLAs(const GURL& url, const content::Referrer& referrer);
61 void OnUpdateContentRestrictions(int content_restrictions); 58 void OnUpdateContentRestrictions(int content_restrictions);
62 void OnModalPromptForPassword(const std::string& prompt,
63 IPC::Message* reply_message);
64 59
65 // The model for the confirmation prompt to open a PDF in Adobe Reader. 60 // The model for the confirmation prompt to open a PDF in Adobe Reader.
66 scoped_ptr<OpenPDFInReaderPromptClient> open_in_reader_prompt_; 61 scoped_ptr<OpenPDFInReaderPromptClient> open_in_reader_prompt_;
67 scoped_ptr<PDFWebContentsHelperClient> client_; 62 scoped_ptr<PDFWebContentsHelperClient> client_;
68 63
69 DISALLOW_COPY_AND_ASSIGN(PDFWebContentsHelper); 64 DISALLOW_COPY_AND_ASSIGN(PDFWebContentsHelper);
70 }; 65 };
71 66
72 } // namespace pdf 67 } // namespace pdf
73 68
74 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ 69 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_
OLDNEW
« no previous file with comments | « components/pdf.gypi ('k') | components/pdf/browser/pdf_web_contents_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698