Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / location_bar / open_pdf_in_reader_view.h
index 3bb25b0..a883216 100644 (file)
@@ -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);
 };