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

Unified Diff: ash/display/root_window_transformers.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: ash/display/root_window_transformers.cc
diff --git a/ash/display/root_window_transformers.cc b/ash/display/root_window_transformers.cc
index 03b77f12ceebd84b57c106a85f8b2d0434401f2c..2cb292f9d102dce2e3fecc425003647cda9a286a 100644
--- a/ash/display/root_window_transformers.cc
+++ b/ash/display/root_window_transformers.cc
@@ -13,7 +13,7 @@
#include "base/command_line.h"
#include "third_party/skia/include/core/SkMatrix44.h"
#include "ui/aura/window_event_dispatcher.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
#include "ui/compositor/dip_util.h"
#include "ui/display/display.h"
#include "ui/display/manager/display_manager.h"
@@ -24,15 +24,15 @@
#include "ui/gfx/transform.h"
#include "ui/gfx/transform.h"
-DECLARE_WINDOW_PROPERTY_TYPE(display::Display::Rotation);
+DECLARE_UI_CLASS_PROPERTY_TYPE(display::Display::Rotation);
namespace ash {
namespace {
#if defined(OS_WIN)
-DEFINE_WINDOW_PROPERTY_KEY(display::Display::Rotation,
- kRotationPropertyKey,
- display::Display::ROTATE_0);
+DEFINE_UI_CLASS_PROPERTY_KEY(display::Display::Rotation,
+ kRotationPropertyKey,
+ display::Display::ROTATE_0);
#endif
// Round near zero value to zero.

Powered by Google App Engine
This is Rietveld 408576698