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

Side by Side Diff: components/pdf/browser/open_pdf_in_reader_prompt_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/BUILD.gn ('k') | components/pdf/browser/pdf_web_contents_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_
6 #define COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_
7
8 #include "base/strings/string16.h"
9
10 namespace content {
11 struct LoadCommittedDetails;
12 }
13
14 namespace pdf {
15
16 class OpenPDFInReaderPromptClient {
17 public:
18 virtual ~OpenPDFInReaderPromptClient() {}
19
20 virtual base::string16 GetMessageText() const = 0;
21
22 virtual base::string16 GetAcceptButtonText() const = 0;
23
24 virtual base::string16 GetCancelButtonText() const = 0;
25
26 virtual bool ShouldExpire(
27 const content::LoadCommittedDetails& details) const = 0;
28
29 virtual void Accept() = 0;
30
31 virtual void Cancel() = 0;
32 };
33
34 } // namespace pdf
35
36 #endif // COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_
OLDNEW
« no previous file with comments | « components/pdf/browser/BUILD.gn ('k') | components/pdf/browser/pdf_web_contents_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698