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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.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/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index 21aca730c6e063afb1c2c657c70693f65a63c906..145c24d8dbc1128c6eb474faeb208c2d9c7c8658 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -17,8 +17,8 @@
#include "ui/aura/client/window_parenting_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_observer.h"
-#include "ui/aura/window_property.h"
#include "ui/aura/window_tree_host.h"
+#include "ui/base/class_property.h"
#include "ui/base/hit_test.h"
#include "ui/base/ime/input_method.h"
#include "ui/compositor/layer.h"
@@ -61,12 +61,12 @@
#include "ui/base/win/shell.h"
#endif
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(VIEWS_EXPORT,
+DECLARE_EXPORTED_CLASS_PROPERTY_TYPE(VIEWS_EXPORT,
views::DesktopNativeWidgetAura*);
namespace views {
-DEFINE_WINDOW_PROPERTY_KEY(DesktopNativeWidgetAura*,
+DEFINE_CLASS_PROPERTY_KEY(DesktopNativeWidgetAura*,
kDesktopNativeWidgetAuraKey, NULL);
namespace {

Powered by Google App Engine
This is Rietveld 408576698