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

Unified Diff: ui/aura/client/event_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
Index: ui/aura/client/event_client.cc
diff --git a/ui/aura/client/event_client.cc b/ui/aura/client/event_client.cc
index d6da07e4245897feb9cc5459f9bf385e40f8285d..b83fec1d3c331ef57812462a795285321825ff6a 100644
--- a/ui/aura/client/event_client.cc
+++ b/ui/aura/client/event_client.cc
@@ -4,15 +4,16 @@
#include "ui/aura/client/event_client.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"
-DECLARE_WINDOW_PROPERTY_TYPE(aura::client::EventClient*)
+DECLARE_UI_CLASS_PROPERTY_TYPE(aura::client::EventClient*)
namespace aura {
namespace client {
-DEFINE_WINDOW_PROPERTY_KEY(EventClient*, kRootWindowEventClientKey, NULL);
+DEFINE_UI_CLASS_PROPERTY_KEY(EventClient*, kRootWindowEventClientKey, NULL);
void SetEventClient(Window* root_window, EventClient* client) {
DCHECK_EQ(root_window->GetRootWindow(), root_window);

Powered by Google App Engine
This is Rietveld 408576698