Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: chrome/browser/extensions/chrome_app_icon_delegate.h

Issue 2819413003: Refactor extension app icon. (Closed)
Patch Set: rebase + nit Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698