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

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

Issue 2731663002: Remove WmWindowProperty (Closed)
Patch Set: rebase Created 3 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/extension_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc
index 180ef58d7de4bfd1aa6f8bd751ebdaa80f190d79..dd059dc44a918d12e09dba57445d8206bb5047ab 100644
--- a/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc
@@ -7,7 +7,7 @@
#include "ash/common/shelf/shelf_delegate.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
+#include "ash/wm/window_properties.h"
#include "ash/wm/window_util.h"
#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
@@ -192,8 +192,8 @@ void ExtensionAppWindowLauncherController::RegisterApp(AppWindow* app_window) {
app_controller_map_[app_shelf_id] = controller;
}
owner()->SetItemStatus(shelf_id, status);
- ash::WmWindow::Get(window)->SetIntProperty(ash::WmWindowProperty::SHELF_ID,
- shelf_id);
+ ash::WmWindow::Get(window)->aura_window()->SetProperty(ash::kShelfIDKey,
+ shelf_id);
}
void ExtensionAppWindowLauncherController::UnregisterApp(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698