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

Unified Diff: ash/common/wm/overview/scoped_transform_overview_window.cc

Issue 2731663002: Remove WmWindowProperty (Closed)
Patch Set: rebase Created 3 years, 10 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/common/wm/overview/scoped_transform_overview_window.cc
diff --git a/ash/common/wm/overview/scoped_transform_overview_window.cc b/ash/common/wm/overview/scoped_transform_overview_window.cc
index f6172e773c6f6867db626482eede45d18671e3c3..db63b3d966f57d93ab8d0702c25328ec4178c0eb 100644
--- a/ash/common/wm/overview/scoped_transform_overview_window.cc
+++ b/ash/common/wm/overview/scoped_transform_overview_window.cc
@@ -13,12 +13,12 @@
#include "ash/common/wm/window_state.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
#include "ash/root_window_controller.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_task_runner_handle.h"
+#include "ui/aura/client/aura_constants.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/safe_integer_conversions.h"
@@ -275,7 +275,7 @@ SkColor ScopedTransformOverviewWindow::GetTopColor() const {
return SK_ColorTRANSPARENT;
}
}
- return window_->GetColorProperty(WmWindowProperty::TOP_VIEW_COLOR);
+ return window_->aura_window()->GetProperty(aura::client::kTopViewColor);
}
int ScopedTransformOverviewWindow::GetTopInset() const {
@@ -290,7 +290,7 @@ int ScopedTransformOverviewWindow::GetTopInset() const {
return 0;
}
}
- return window_->GetIntProperty(WmWindowProperty::TOP_VIEW_INSET);
+ return window_->aura_window()->GetProperty(aura::client::kTopViewInset);
}
void ScopedTransformOverviewWindow::OnWindowDestroyed() {
« no previous file with comments | « ash/common/wm/maximize_mode/maximize_mode_window_manager.cc ('k') | ash/common/wm/overview/window_selector_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698