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

Unified Diff: chrome/browser/ui/views/open_pdf_in_reader_bubble_view.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/views/open_pdf_in_reader_bubble_view.h
diff --git a/chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h b/chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h
index cde20b17e57f6397db8f6f02731dcbfbe6ae9be9..d0d9db7ca4cc861279a833d49e5c9f62316e7bf8 100644
--- a/chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h
+++ b/chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h
@@ -9,7 +9,9 @@
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/link_listener.h"
+namespace pdf {
class OpenPDFInReaderPromptDelegate;
+}
namespace views {
class LabelButton;
@@ -20,7 +22,7 @@ class OpenPDFInReaderBubbleView : public views::BubbleDelegateView,
public views::LinkListener {
public:
OpenPDFInReaderBubbleView(views::View* anchor_view,
- OpenPDFInReaderPromptDelegate* model);
+ pdf::OpenPDFInReaderPromptDelegate* model);
virtual ~OpenPDFInReaderBubbleView();
protected:
@@ -36,7 +38,7 @@ class OpenPDFInReaderBubbleView : public views::BubbleDelegateView,
private:
// Weak pointer; owned by the PDFTabHelper of the currently active tab.
- OpenPDFInReaderPromptDelegate* model_;
+ pdf::OpenPDFInReaderPromptDelegate* model_;
views::Link* open_in_reader_link_;
views::LabelButton* close_button_;

Powered by Google App Engine
This is Rietveld 408576698