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

Unified Diff: ash/mus/disconnected_app_handler.cc

Issue 2632543003: Refactor and push window properties up to class properties. (Closed)
Patch Set: More build fixes Created 3 years, 11 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: ash/mus/disconnected_app_handler.cc
diff --git a/ash/mus/disconnected_app_handler.cc b/ash/mus/disconnected_app_handler.cc
index cfc75fc4a7febbe4c830ec2367dca7325ac3848a..21ca7c61f06669fad5de2682ffcdf06b50ed3845 100644
--- a/ash/mus/disconnected_app_handler.cc
+++ b/ash/mus/disconnected_app_handler.cc
@@ -7,17 +7,17 @@
#include "ash/common/wm_window.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
-DECLARE_WINDOW_PROPERTY_TYPE(ash::mus::DisconnectedAppHandler*);
+DECLARE_UI_CLASS_PROPERTY_TYPE(ash::mus::DisconnectedAppHandler*);
namespace ash {
namespace mus {
namespace {
-DEFINE_OWNED_WINDOW_PROPERTY_KEY(DisconnectedAppHandler,
- kDisconnectedAppHandlerKey,
- nullptr);
+DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(DisconnectedAppHandler,
+ kDisconnectedAppHandlerKey,
+ nullptr);
} // namespace

Powered by Google App Engine
This is Rietveld 408576698