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

Unified Diff: chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
Index: chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
diff --git a/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h b/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
deleted file mode 100644
index c39d66af82264734483cd92bd7e58366d9a21320..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
+++ /dev/null
@@ -1,32 +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 CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_
-#define CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_
-
-#include "base/strings/string16.h"
-
-namespace content {
-struct LoadCommittedDetails;
-}
-
-class OpenPDFInReaderPromptDelegate {
- public:
- virtual ~OpenPDFInReaderPromptDelegate() {}
-
- 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;
-};
-
-#endif // CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698