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

Unified Diff: ash/wm/window_mirror_view.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/wm/window_mirror_view.cc
diff --git a/ash/wm/window_mirror_view.cc b/ash/wm/window_mirror_view.cc
index 7b67803f202b5e83c7ba79bf850f06e1814977ab..94dd84730cd2d595a695508901f7aeee7580555d 100644
--- a/ash/wm/window_mirror_view.cc
+++ b/ash/wm/window_mirror_view.cc
@@ -6,7 +6,6 @@
#include "ash/common/wm/window_state.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
#include "ash/wm/window_state_aura.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
@@ -105,7 +104,7 @@ ui::Layer* WindowMirrorView::GetMirrorLayer() {
}
gfx::Rect WindowMirrorView::GetClientAreaBounds() const {
- int insets = target_->GetIntProperty(WmWindowProperty::TOP_VIEW_INSET);
+ int insets = target_->aura_window()->GetProperty(aura::client::kTopViewInset);
if (insets > 0) {
gfx::Rect bounds(target_->GetBounds().size());
bounds.Inset(0, insets, 0, 0);
« no previous file with comments | « ash/wm/panels/panel_window_resizer_unittest.cc ('k') | chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698