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

Side by Side Diff: chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_INFOBARS_EXTENSION_INFOBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/extensions/extension_infobar_delegate.h" 9 #include "chrome/browser/extensions/extension_infobar_delegate.h"
10 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" 10 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h"
11 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" 11 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
12 #include "chrome/browser/ui/gtk/menu_gtk.h" 12 #include "chrome/browser/ui/gtk/menu_gtk.h"
13 #include "ui/gfx/gtk_util.h" 13 #include "ui/gfx/gtk_util.h"
14 14
15 class ExtensionContextMenuModel; 15 class ExtensionContextMenuModel;
16 class ExtensionResource;
17 class ExtensionViewGtk; 16 class ExtensionViewGtk;
18 class MenuGtk; 17 class MenuGtk;
19 18
20 class ExtensionInfoBarGtk : public InfoBarGtk, 19 class ExtensionInfoBarGtk : public InfoBarGtk,
21 public MenuGtk::Delegate, 20 public MenuGtk::Delegate,
22 public ExtensionInfoBarDelegate::DelegateObserver { 21 public ExtensionInfoBarDelegate::DelegateObserver {
23 public: 22 public:
24 ExtensionInfoBarGtk(InfoBarService* owner, 23 ExtensionInfoBarGtk(InfoBarService* owner,
25 ExtensionInfoBarDelegate* delegate); 24 ExtensionInfoBarDelegate* delegate);
26 virtual ~ExtensionInfoBarGtk(); 25 virtual ~ExtensionInfoBarGtk();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 84
86 // The model for the current menu displayed. 85 // The model for the current menu displayed.
87 scoped_refptr<ExtensionContextMenuModel> context_menu_model_; 86 scoped_refptr<ExtensionContextMenuModel> context_menu_model_;
88 87
89 base::WeakPtrFactory<ExtensionInfoBarGtk> weak_ptr_factory_; 88 base::WeakPtrFactory<ExtensionInfoBarGtk> weak_ptr_factory_;
90 89
91 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarGtk); 90 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarGtk);
92 }; 91 };
93 92
94 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_ 93 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698