| 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_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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/extensions/extension_icon_image.h" | 9 #include "extensions/browser/extension_icon_image.h" |
| 10 | 10 |
| 11 class ExtensionAction; | 11 class ExtensionAction; |
| 12 class ExtensionIconSet; | 12 class ExtensionIconSet; |
| 13 class Profile; | 13 class Profile; |
| 14 | 14 |
| 15 namespace extensions { | 15 namespace extensions { |
| 16 class Extension; | 16 class Extension; |
| 17 } | 17 } |
| 18 | 18 |
| 19 // Used to get an icon to be used in the UI for an extension action. | 19 // Used to get an icon to be used in the UI for an extension action. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const extensions::Extension* extension_; | 59 const extensions::Extension* extension_; |
| 60 const ExtensionAction* action_; | 60 const ExtensionAction* action_; |
| 61 Observer* observer_; | 61 Observer* observer_; |
| 62 // Underlying icon image for the default icon. | 62 // Underlying icon image for the default icon. |
| 63 scoped_ptr<extensions::IconImage> default_icon_; | 63 scoped_ptr<extensions::IconImage> default_icon_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(ExtensionActionIconFactory); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionActionIconFactory); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_ | 68 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_ICON_FACTORY_H_ |
| OLD | NEW |