OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/views/controls/image_view.h" | 9 #include "ui/views/controls/image_view.h" |
9 #include "ui/views/widget/widget_observer.h" | 10 #include "ui/views/widget/widget_observer.h" |
10 | 11 |
11 class OpenPDFInReaderBubbleView; | 12 class OpenPDFInReaderBubbleView; |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class WebContents; | 15 class WebContents; |
15 } | 16 } |
16 | 17 |
17 namespace pdf { | 18 namespace pdf { |
(...skipping 24 matching lines...) Expand all Loading... |
42 OpenPDFInReaderBubbleView* bubble_; | 43 OpenPDFInReaderBubbleView* bubble_; |
43 | 44 |
44 // Weak pointer; owned by the PDFWebContentsHelper of the currently active | 45 // Weak pointer; owned by the PDFWebContentsHelper of the currently active |
45 // tab. | 46 // tab. |
46 pdf::OpenPDFInReaderPromptClient* model_; | 47 pdf::OpenPDFInReaderPromptClient* model_; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(OpenPDFInReaderView); | 49 DISALLOW_COPY_AND_ASSIGN(OpenPDFInReaderView); |
49 }; | 50 }; |
50 | 51 |
51 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ | 52 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ |
OLD | NEW |