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_CHROME_APP_ICON_DELEGATE_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_APP_ICON_DELEGATE_H_ | |
7 | |
8 namespace extensions { | |
9 | |
10 class ChromeAppIcon; | |
11 | |
12 class ChromeAppIconDelegate { | |
13 public: | |
14 // Invoked when ChromeAppIcon is updated. "icon->image_skia()" contains | |
msw
2017/05/03 01:17:39
nit: use vertical bars instead of quotes
khmel
2017/05/03 02:15:22
Done
| |
15 // the current icon image. | |
msw
2017/05/03 01:17:39
Does current mean the post-update current, or does
khmel
2017/05/03 02:15:22
Done.
| |
16 virtual void OnIconUpdated(ChromeAppIcon* icon) = 0; | |
17 | |
18 protected: | |
19 virtual ~ChromeAppIconDelegate() {} | |
20 }; | |
21 | |
22 } // namespace extensions | |
23 | |
24 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_APP_ICON_DELEGATE_H_ | |
OLD | NEW |