OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_DELEGATE_H_ |
| 7 |
| 8 namespace extensions { |
| 9 |
| 10 class ExtensionAppIcon; |
| 11 |
| 12 class ExtensionAppIconDelegate { |
| 13 public: |
| 14 // Invoked when ExtensionAppIcon is updated. "icon->image_skia()" contains |
| 15 // the current icon image. |
| 16 virtual void OnIconUpdated(ExtensionAppIcon* icon) = 0; |
| 17 |
| 18 protected: |
| 19 virtual ~ExtensionAppIconDelegate() {} |
| 20 }; |
| 21 |
| 22 } // namespace extensions |
| 23 |
| 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_DELEGATE_H_ |
OLD | NEW |