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

Unified Diff: chrome/browser/ui/views/location_bar/open_pdf_in_reader_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/location_bar/open_pdf_in_reader_view.h
diff --git a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h
index 3bb25b0750addfb0dce5415ccc446230e295d1b0..a8832160f5e7e980f6332f43a4f45f070ad3267f 100644
--- a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h
+++ b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h
@@ -9,12 +9,15 @@
#include "ui/views/widget/widget_observer.h"
class OpenPDFInReaderBubbleView;
-class OpenPDFInReaderPromptDelegate;
namespace content {
class WebContents;
}
+namespace pdf {
+class OpenPDFInReaderPromptClient;
+}
+
// A Page Action image view for the "Open PDF in Reader" bubble.
class OpenPDFInReaderView : public views::ImageView,
public views::WidgetObserver {
@@ -38,8 +41,9 @@ class OpenPDFInReaderView : public views::ImageView,
OpenPDFInReaderBubbleView* bubble_;
- // Weak pointer; owned by the PDFTabHelper of the currently active tab.
- OpenPDFInReaderPromptDelegate* model_;
+ // Weak pointer; owned by the PDFWebContentsHelper of the currently active
+ // tab.
+ pdf::OpenPDFInReaderPromptClient* model_;
DISALLOW_COPY_AND_ASSIGN(OpenPDFInReaderView);
};

Powered by Google App Engine
This is Rietveld 408576698