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

Unified Diff: ui/aura/client/screen_position_client.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: ui/aura/client/screen_position_client.cc
diff --git a/ui/aura/client/screen_position_client.cc b/ui/aura/client/screen_position_client.cc
index 6415376d230f0367c303d3725b33e52c1191c82e..6da6fd1261403a96329f6b794025fba677710c38 100644
--- a/ui/aura/client/screen_position_client.cc
+++ b/ui/aura/client/screen_position_client.cc
@@ -4,16 +4,16 @@
#include "ui/aura/client/screen_position_client.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
-DECLARE_WINDOW_PROPERTY_TYPE(aura::client::ScreenPositionClient*)
+DECLARE_CLASS_PROPERTY_TYPE(aura::client::ScreenPositionClient*)
namespace aura {
namespace client {
-DEFINE_LOCAL_WINDOW_PROPERTY_KEY(ScreenPositionClient*,
- kScreenPositionClientKey,
- NULL);
+DEFINE_LOCAL_CLASS_PROPERTY_KEY(ScreenPositionClient*,
+ kScreenPositionClientKey,
+ NULL);
void SetScreenPositionClient(Window* root_window,
ScreenPositionClient* client) {

Powered by Google App Engine
This is Rietveld 408576698