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

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: Add comments to .idl Created 8 years 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..cdd2909c00089b2ed06fcb5d41fda26437e763db 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 the window icon changes.
+ virtual void OnShellWindowIconChanged(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 ShellWindowIconChanged(ShellWindow* shell_window);
void RemoveShellWindow(ShellWindow* shell_window);
void AddObserver(Observer* observer);
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest_util.cc ('k') | chrome/browser/extensions/shell_window_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698