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

Unified 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, 11 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pdf/browser/open_pdf_in_reader_prompt_client.h
diff --git a/components/pdf/browser/open_pdf_in_reader_prompt_client.h b/components/pdf/browser/open_pdf_in_reader_prompt_client.h
deleted file mode 100644
index 854e6f4d423cb2f4987842a104df323eb712eb3f..0000000000000000000000000000000000000000
--- a/components/pdf/browser/open_pdf_in_reader_prompt_client.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_
-#define COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_
-
-#include "base/strings/string16.h"
-
-namespace content {
-struct LoadCommittedDetails;
-}
-
-namespace pdf {
-
-class OpenPDFInReaderPromptClient {
- public:
- virtual ~OpenPDFInReaderPromptClient() {}
-
- virtual base::string16 GetMessageText() const = 0;
-
- virtual base::string16 GetAcceptButtonText() const = 0;
-
- virtual base::string16 GetCancelButtonText() const = 0;
-
- virtual bool ShouldExpire(
- const content::LoadCommittedDetails& details) const = 0;
-
- virtual void Accept() = 0;
-
- virtual void Cancel() = 0;
-};
-
-} // namespace pdf
-
-#endif // COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_
« 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