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

Unified Diff: ash/aura/aura_layout_manager_adapter.cc

Issue 2632543003: Refactor and push window properties up to class properties. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | ash/common/wm_window.cc » ('j') | ui/aura/window.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/aura_layout_manager_adapter.cc
diff --git a/ash/aura/aura_layout_manager_adapter.cc b/ash/aura/aura_layout_manager_adapter.cc
index 6f8a0eb0389779af885222764fb75640a8a59636..330deae69920f744681d7388266d8ddfe4b803f2 100644
--- a/ash/aura/aura_layout_manager_adapter.cc
+++ b/ash/aura/aura_layout_manager_adapter.cc
@@ -6,18 +6,18 @@
#include "ash/common/wm_layout_manager.h"
#include "ash/common/wm_window.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
-DECLARE_WINDOW_PROPERTY_TYPE(ash::AuraLayoutManagerAdapter*);
+DECLARE_CLASS_PROPERTY_TYPE(ash::AuraLayoutManagerAdapter*);
namespace ash {
namespace {
// AuraLayoutManagerAdapter is an aura::LayoutManager, so it's owned by the
// aura::Window it is installed on. This property is used to lookup the
// AuraLayoutManagerAdapter given only an aura::Window.
-DEFINE_WINDOW_PROPERTY_KEY(AuraLayoutManagerAdapter*,
- kAuraLayoutManagerAdapter,
- nullptr);
+DEFINE_CLASS_PROPERTY_KEY(AuraLayoutManagerAdapter*,
+ kAuraLayoutManagerAdapter,
+ nullptr);
} // namespace
AuraLayoutManagerAdapter::AuraLayoutManagerAdapter(
« no previous file with comments | « no previous file | ash/common/wm_window.cc » ('j') | ui/aura/window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698