OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_GTK_EXTENSION_INFOBAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSION_INFOBAR_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_EXTENSION_INFOBAR_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_EXTENSION_INFOBAR_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/extensions/extension_infobar_delegate.h" | 9 #include "chrome/browser/extensions/extension_infobar_delegate.h" |
10 #include "chrome/browser/extensions/image_loading_tracker.h" | 10 #include "chrome/browser/extensions/image_loading_tracker.h" |
11 #include "chrome/browser/ui/gtk/extension_view_gtk.h" | 11 #include "chrome/browser/ui/gtk/extension_view_gtk.h" |
12 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" | 12 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" |
13 #include "gfx/gtk_util.h" | 13 #include "ui/gfx/gtk_util.h" |
14 | 14 |
15 class ExtensionInfobarDelegate; | 15 class ExtensionInfobarDelegate; |
16 class ExtensionResource; | 16 class ExtensionResource; |
17 class ExtensionViewGtk; | 17 class ExtensionViewGtk; |
18 | 18 |
19 class ExtensionInfoBarGtk : public InfoBar, | 19 class ExtensionInfoBarGtk : public InfoBar, |
20 public ImageLoadingTracker::Observer, | 20 public ImageLoadingTracker::Observer, |
21 public ExtensionViewGtk::Container { | 21 public ExtensionViewGtk::Container { |
22 public: | 22 public: |
23 explicit ExtensionInfoBarGtk(ExtensionInfoBarDelegate* delegate); | 23 explicit ExtensionInfoBarGtk(ExtensionInfoBarDelegate* delegate); |
(...skipping 17 matching lines...) Expand all Loading... |
41 ImageLoadingTracker tracker_; | 41 ImageLoadingTracker tracker_; |
42 | 42 |
43 ExtensionInfoBarDelegate* delegate_; | 43 ExtensionInfoBarDelegate* delegate_; |
44 | 44 |
45 ExtensionViewGtk* view_; | 45 ExtensionViewGtk* view_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarGtk); | 47 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarGtk); |
48 }; | 48 }; |
49 | 49 |
50 #endif // CHROME_BROWSER_UI_GTK_EXTENSION_INFOBAR_GTK_H_ | 50 #endif // CHROME_BROWSER_UI_GTK_EXTENSION_INFOBAR_GTK_H_ |
OLD | NEW |