blob: 43dc58a7c0e97a0e8993c39989ec2fb62814bbc3 [file] [log] [blame]
khmel8c1f6622017-05-11 19:14:501// 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
8namespace extensions {
9
10class ChromeAppIcon;
11
12class ChromeAppIconDelegate {
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_