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

Unified Diff: ash/root_window_settings.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
Index: ash/root_window_settings.cc
diff --git a/ash/root_window_settings.cc b/ash/root_window_settings.cc
index a0fd29d1b965460cf21937ea11adde3d4aeca89f..7241634dab0c2afee0d807b2daaef5c9449d6f15 100644
--- a/ash/root_window_settings.cc
+++ b/ash/root_window_settings.cc
@@ -5,16 +5,16 @@
#include "ash/root_window_settings.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_CLASS_PROPERTY_TYPE(ash::RootWindowSettings*);
namespace ash {
-DEFINE_OWNED_WINDOW_PROPERTY_KEY(RootWindowSettings,
- kRootWindowSettingsKey,
- NULL);
+DEFINE_OWNED_CLASS_PROPERTY_KEY(RootWindowSettings,
+ kRootWindowSettingsKey,
+ NULL);
RootWindowSettings::RootWindowSettings()
: display_id(display::kInvalidDisplayId), controller(NULL) {}
« no previous file with comments | « ash/mus/shadow.cc ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | ui/aura/window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698