Index: ash/shell/window_watcher.cc |
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc |
index 157a5980ad1575b4b16ca5c695e3c713afd8865e..60324fb921731b3bb312a7bbe676c2eb0aedba79 100644 |
--- a/ash/shell/window_watcher.cc |
+++ b/ash/shell/window_watcher.cc |
@@ -79,7 +79,8 @@ void WindowWatcher::OnWindowAdded(aura::Window* new_window) { |
static int image_count = 0; |
ash::LauncherModel* model = Launcher::ForPrimaryDisplay()->model(); |
ash::LauncherItem item; |
- item.type = ash::TYPE_TABBED; |
+ item.type = new_window->type() == aura::client::WINDOW_TYPE_PANEL ? |
+ ash::TYPE_APP_PANEL : ash::TYPE_TABBED; |
id_to_window_[model->next_id()] = new_window; |
SkBitmap icon_bitmap; |