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

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

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.cc
diff --git a/chrome/browser/extensions/shell_window_registry.cc b/chrome/browser/extensions/shell_window_registry.cc
index 279fb74aab31292832c6d59894df972aa9363047..1bf1fae13afa9ea017f7a267f27e349db7310317 100644
--- a/chrome/browser/extensions/shell_window_registry.cc
+++ b/chrome/browser/extensions/shell_window_registry.cc
@@ -58,6 +58,12 @@ void ShellWindowRegistry::AddShellWindow(ShellWindow* shell_window) {
FOR_EACH_OBSERVER(Observer, observers_, OnShellWindowAdded(shell_window));
}
+void ShellWindowRegistry::ShellWindowIconChanged(ShellWindow* shell_window) {
+ shell_windows_.insert(shell_window);
+ FOR_EACH_OBSERVER(Observer, observers_,
+ OnShellWindowIconChanged(shell_window));
+}
+
void ShellWindowRegistry::RemoveShellWindow(ShellWindow* shell_window) {
shell_windows_.erase(shell_window);
FOR_EACH_OBSERVER(Observer, observers_, OnShellWindowRemoved(shell_window));
« no previous file with comments | « chrome/browser/extensions/shell_window_registry.h ('k') | chrome/browser/ui/ash/launcher/shell_window_launcher_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698