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

Unified Diff: chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc

Issue 11316292: Add app.window.setIcon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ShellWindowUpdate -> ShellWindowIconUpdated 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/ash/launcher/shell_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc
index a07f456aebc3220e7157ad8c9641bccf15b81e7b..fb6ab648094feaefdd8a8f84a9aa7db948223bb7 100644
--- a/chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc
@@ -251,6 +251,12 @@ void ShellWindowLauncherController::OnShellWindowAdded(
owner_->SetItemStatus(launcher_id, status);
}
+void ShellWindowLauncherController::OnShellWindowIconUpdated(
+ ShellWindow* shell_window) {
+ // TODO(stevenjb): Fetch and set the launcher icon using
+ // shell_window->app_icon_url().
+}
+
void ShellWindowLauncherController::OnShellWindowRemoved(
ShellWindow* shell_window) {
// Do nothing here; shell_window->window() has allready been deleted and

Powered by Google App Engine
This is Rietveld 408576698