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

Unified Diff: ash/shell/window_watcher.cc

Issue 2518423003: Combine shelf platform and windowed app types. (Closed)
Patch Set: Update platform-app test support; address comment; format. Created 4 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: ash/shell/window_watcher.cc
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc
index 311e47a589b48ce6b69450d4d11afe2519327020..1ca47e11ba2cd39218b4bdda94586df518727878 100644
--- a/ash/shell/window_watcher.cc
+++ b/ash/shell/window_watcher.cc
@@ -100,7 +100,7 @@ void WindowWatcher::OnWindowAdded(aura::Window* new_window) {
ShelfItem item;
item.type = new_window->type() == ui::wm::WINDOW_TYPE_PANEL
? ash::TYPE_APP_PANEL
- : ash::TYPE_PLATFORM_APP;
+ : ash::TYPE_APP;
ash::ShelfID id = model->next_id();
id_to_window_[id] = new_window;

Powered by Google App Engine
This is Rietveld 408576698