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

Side by Side Diff: chrome/browser/extensions/extension_action_icon_factory.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
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_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/scoped_observer.h" 11 #include "base/scoped_observer.h"
12 #include "extensions/browser/extension_icon_image.h" 12 #include "extensions/browser/extension_icon_image.h"
13 13
14 class ExtensionAction; 14 class ExtensionAction;
15 class ExtensionIconSet;
16 class Profile; 15 class Profile;
17 16
18 namespace extensions { 17 namespace extensions {
19 class Extension; 18 class Extension;
20 } 19 }
21 20
22 // Used to get an icon to be used in the UI for an extension action. 21 // Used to get an icon to be used in the UI for an extension action.
23 // If the extension action icon is the default icon defined in the extension's 22 // If the extension action icon is the default icon defined in the extension's
24 // manifest, it is loaded using extensions::IconImage. This icon can be loaded 23 // manifest, it is loaded using extensions::IconImage. This icon can be loaded
25 // asynchronously. The factory observes underlying IconImage and notifies its 24 // asynchronously. The factory observes underlying IconImage and notifies its
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const ExtensionAction* action_; 57 const ExtensionAction* action_;
59 Observer* observer_; 58 Observer* observer_;
60 59
61 ScopedObserver<extensions::IconImage, extensions::IconImage::Observer> 60 ScopedObserver<extensions::IconImage, extensions::IconImage::Observer>
62 icon_image_observer_; 61 icon_image_observer_;
63 62
64 DISALLOW_COPY_AND_ASSIGN(ExtensionActionIconFactory); 63 DISALLOW_COPY_AND_ASSIGN(ExtensionActionIconFactory);
65 }; 64 };
66 65
67 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_ 66 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_action.h ('k') | chrome/browser/extensions/extension_app_icon_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698