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

Unified Diff: chrome/browser/extensions/shell_window_registry.h

Issue 11316292: Add app.window.setIcon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/shell_window_registry.h
diff --git a/chrome/browser/extensions/shell_window_registry.h b/chrome/browser/extensions/shell_window_registry.h
index 7379bf70e28b8de509f3eba636a067a98f7c1f23..61f216c5119e2c9bcd55856b8b1f2582311d58e3 100644
--- a/chrome/browser/extensions/shell_window_registry.h
+++ b/chrome/browser/extensions/shell_window_registry.h
@@ -39,6 +39,8 @@ class ShellWindowRegistry : public ProfileKeyedService,
public:
// Called just after a shell window was added.
virtual void OnShellWindowAdded(ShellWindow* shell_window) = 0;
+ // Called when an interesting property changes (e.g. launcher icon).
+ virtual void OnShellWindowUpdated(ShellWindow* shell_window) = 0;
// Called just after a shell window was removed.
virtual void OnShellWindowRemoved(ShellWindow* shell_window) = 0;
@@ -58,6 +60,7 @@ class ShellWindowRegistry : public ProfileKeyedService,
static ShellWindowRegistry* Get(Profile* profile);
void AddShellWindow(ShellWindow* shell_window);
+ void UpdateShellWindow(ShellWindow* shell_window);
void RemoveShellWindow(ShellWindow* shell_window);
void AddObserver(Observer* observer);

Powered by Google App Engine
This is Rietveld 408576698