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

Unified Diff: ash/root_window_settings.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/root_window_settings.cc
diff --git a/ash/root_window_settings.cc b/ash/root_window_settings.cc
index a0fd29d1b965460cf21937ea11adde3d4aeca89f..050b1cdbb16344554061e681f0bf3bf306c96fa4 100644
--- a/ash/root_window_settings.cc
+++ b/ash/root_window_settings.cc
@@ -4,17 +4,18 @@
#include "ash/root_window_settings.h"
+#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
#include "ui/display/types/display_constants.h"
-DECLARE_WINDOW_PROPERTY_TYPE(ash::RootWindowSettings*);
+DECLARE_UI_CLASS_PROPERTY_TYPE(ash::RootWindowSettings*);
namespace ash {
-DEFINE_OWNED_WINDOW_PROPERTY_KEY(RootWindowSettings,
- kRootWindowSettingsKey,
- NULL);
+DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(RootWindowSettings,
+ kRootWindowSettingsKey,
+ NULL);
RootWindowSettings::RootWindowSettings()
: display_id(display::kInvalidDisplayId), controller(NULL) {}

Powered by Google App Engine
This is Rietveld 408576698