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

Unified Diff: chrome/browser/ui/extensions/shell_window.cc

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/ui/extensions/shell_window.cc
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc
index 1eb23bb4b883063a011dfe3129c752708dbaa7a2..7dfc7a1be958eb6cfaec86d9d9ad5176f0528192 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -93,6 +93,11 @@ ShellWindow* ShellWindow::Create(Profile* profile,
return window;
}
+void ShellWindow::SetLauncherIconUrl(const GURL& url) {
+ launcher_icon_url_ = url;
+ extensions::ShellWindowRegistry::Get(profile_)->UpdateShellWindow(this);
+}
+
ShellWindow::ShellWindow(Profile* profile,
const extensions::Extension* extension)
: profile_(profile),

Powered by Google App Engine
This is Rietveld 408576698