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

Unified Diff: ui/aura/client/focus_change_observer.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/focus_change_observer.cc
diff --git a/ui/aura/client/focus_change_observer.cc b/ui/aura/client/focus_change_observer.cc
index 8db471dfd80d2c311d64cbebd888fd42e99d87dc..4c1b8d46db424aef16716bb5bc8305d3932d1649 100644
--- a/ui/aura/client/focus_change_observer.cc
+++ b/ui/aura/client/focus_change_observer.cc
@@ -5,14 +5,14 @@
#include "ui/aura/client/focus_change_observer.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
-DECLARE_WINDOW_PROPERTY_TYPE(aura::client::FocusChangeObserver*)
+DECLARE_UI_CLASS_PROPERTY_TYPE(aura::client::FocusChangeObserver*)
namespace aura {
namespace client {
-DEFINE_LOCAL_WINDOW_PROPERTY_KEY(
+DEFINE_LOCAL_UI_CLASS_PROPERTY_KEY(
FocusChangeObserver*, kFocusChangeObserverKey, NULL);
FocusChangeObserver* GetFocusChangeObserver(Window* window) {

Powered by Google App Engine
This is Rietveld 408576698