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

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

Issue 2672463003: Remove dead code since PDFWebContentsHelper::ShowOpenInReaderPrompt isn't called anymore. (Closed)
Patch Set: Created 3 years, 10 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/browser/pdf_web_contents_helper.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_ 5 #ifndef COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_ 6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
11 11
12 namespace content { 12 namespace content {
13 class WebContents; 13 class WebContents;
14 } 14 }
15 15
16 namespace pdf { 16 namespace pdf {
17 17
18 class PDFWebContentsHelperClient { 18 class PDFWebContentsHelperClient {
19 public: 19 public:
20 virtual ~PDFWebContentsHelperClient() {} 20 virtual ~PDFWebContentsHelperClient() {}
21 21
22 virtual void UpdateLocationBar(content::WebContents* contents) = 0;
23
24 virtual void UpdateContentRestrictions(content::WebContents* contents, 22 virtual void UpdateContentRestrictions(content::WebContents* contents,
25 int content_restrictions) = 0; 23 int content_restrictions) = 0;
26 24
27 virtual void OnPDFHasUnsupportedFeature(content::WebContents* contents) = 0; 25 virtual void OnPDFHasUnsupportedFeature(content::WebContents* contents) = 0;
28 26
29 virtual void OnSaveURL(content::WebContents* contents) = 0; 27 virtual void OnSaveURL(content::WebContents* contents) = 0;
30 }; 28 };
31 29
32 } // namespace pdf 30 } // namespace pdf
33 31
34 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_ 32 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
OLDNEW
« no previous file with comments | « components/pdf/browser/pdf_web_contents_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698