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

Unified Diff: ash/test/ui_controls_factory_ash.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/test/ui_controls_factory_ash.cc
diff --git a/ash/test/ui_controls_factory_ash.cc b/ash/test/ui_controls_factory_ash.cc
index 1dff879bd58ae6611e3defdf6a351bb72f7c31f8..d5c735ecdb69d1735f5adefd0a7a4ed0f8a09114 100644
--- a/ash/test/ui_controls_factory_ash.cc
+++ b/ash/test/ui_controls_factory_ash.cc
@@ -10,13 +10,13 @@
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/env.h"
#include "ui/aura/test/ui_controls_factory_aura.h"
-#include "ui/aura/window_property.h"
#include "ui/aura/window_tree_host.h"
+#include "ui/base/class_property.h"
#include "ui/base/test/ui_controls.h"
#include "ui/base/test/ui_controls_aura.h"
#include "ui/display/screen.h"
-DECLARE_WINDOW_PROPERTY_TYPE(ui_controls::UIControlsAura*)
+DECLARE_CLASS_PROPERTY_TYPE(ui_controls::UIControlsAura*)
namespace ash {
namespace test {
@@ -25,7 +25,7 @@ namespace {
using ui_controls::UIControlsAura;
using ui_controls::MouseButton;
-DEFINE_OWNED_WINDOW_PROPERTY_KEY(UIControlsAura, kUIControlsKey, NULL);
+DEFINE_OWNED_CLASS_PROPERTY_KEY(UIControlsAura, kUIControlsKey, NULL);
// Returns the UIControls object for RootWindow.
// kUIControlsKey is owned property and UIControls object
« no previous file with comments | « ash/root_window_settings.cc ('k') | ash/touch/touch_uma.cc » ('j') | ui/aura/window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698