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

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

Issue 12212207: Support panel titles and Icons for v1 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment. Created 7 years, 10 months 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_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
index 588878edd161d06605a97a11d1b0c779a11798ef..2ea2d9f61490131c00f00776f3ed04880be5aa3e 100644
--- a/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
@@ -45,8 +45,7 @@ ShellWindowLauncherItemController::~ShellWindowLauncherItemController() {
void ShellWindowLauncherItemController::AddShellWindow(
ShellWindow* shell_window,
ash::LauncherItemStatus status) {
- if (shell_window->window_type() == ShellWindow::WINDOW_TYPE_PANEL &&
- type() != TYPE_APP_PANEL) {
+ if (shell_window->window_type_is_panel() && type() != TYPE_APP_PANEL) {
LOG(ERROR) << "ShellWindow of type Panel added to non-panel launcher item";
}
if (status == ash::STATUS_ACTIVE)
« no previous file with comments | « chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698