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

Unified Diff: ui/wm/public/window_move_client.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
« ui/base/class_property.h ('K') | « ui/wm/public/tooltip_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/public/window_move_client.cc
diff --git a/ui/wm/public/window_move_client.cc b/ui/wm/public/window_move_client.cc
index 44ccca965c64facbbd4328e88a2727148d8ec104..cb9188865cbb923765dc20bbda6718794e57720b 100644
--- a/ui/wm/public/window_move_client.cc
+++ b/ui/wm/public/window_move_client.cc
@@ -5,15 +5,15 @@
#include "ui/wm/public/window_move_client.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
-DECLARE_WINDOW_PROPERTY_TYPE(aura::client::WindowMoveClient*)
+DECLARE_UI_CLASS_PROPERTY_TYPE(aura::client::WindowMoveClient*)
namespace aura {
namespace client {
// A property key to store a client that handles window moves.
-DEFINE_LOCAL_WINDOW_PROPERTY_KEY(
+DEFINE_LOCAL_UI_CLASS_PROPERTY_KEY(
WindowMoveClient*, kWindowMoveClientKey, NULL);
void SetWindowMoveClient(Window* window, WindowMoveClient* client) {
« ui/base/class_property.h ('K') | « ui/wm/public/tooltip_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698