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 { | |
msw
2017/05/08 19:59:53
Why is this needed? Why not just pass the AppIconL
khmel
2017/05/09 00:05:04
AppIconLoaderDelegate is only once case how to use
msw
2017/05/10 19:05:21
Right, but it's *so* similar (just one On[Icon|App
khmel
2017/05/11 02:13:48
As agreed, I will remove AppIconloader and from th
| |
13 public: | |
14 // Invoked when ChromeAppIcon is updated. |icon->image_skia()| contains | |
15 // the update icon image with applied effects. | |
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 |