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

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: 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/ui/extensions/shell_window.cc
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc
index 0a7d23fadd592fa5f4d15d9cf656205750979143..f81723ab75e5be5de4994b14ff8871f1a5f5b026 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -94,6 +94,11 @@ ShellWindow* ShellWindow::Create(Profile* profile,
return window;
}
+void ShellWindow::SetAppIconUrl(const GURL& url) {
+ app_icon_url_ = url;
+ extensions::ShellWindowRegistry::Get(profile_)->ShellWindowIconChanged(this);
+}
+
ShellWindow::ShellWindow(Profile* profile,
const extensions::Extension* extension)
: profile_(profile),
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.h ('k') | chrome/common/extensions/api/app_current_window_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698