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

Unified Diff: ui/aura/client/focus_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/focus_client.cc
diff --git a/ui/aura/client/focus_client.cc b/ui/aura/client/focus_client.cc
index a5f179df589ac441a52da6208de0364f36aa1081..0a916422e40d2b074613b40a1cecfbfac4da11ff 100644
--- a/ui/aura/client/focus_client.cc
+++ b/ui/aura/client/focus_client.cc
@@ -5,14 +5,14 @@
#include "ui/aura/client/focus_client.h"
#include "ui/aura/window_event_dispatcher.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(AURA_EXPORT, aura::client::FocusClient*)
+DECLARE_EXPORTED_UI_CLASS_PROPERTY_TYPE(AURA_EXPORT, aura::client::FocusClient*)
namespace aura {
namespace client {
-DEFINE_WINDOW_PROPERTY_KEY(FocusClient*, kFocusClientKey, nullptr);
+DEFINE_UI_CLASS_PROPERTY_KEY(FocusClient*, kFocusClientKey, nullptr);
void SetFocusClient(Window* root_window, FocusClient* client) {
DCHECK_EQ(root_window->GetRootWindow(), root_window);

Powered by Google App Engine
This is Rietveld 408576698