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

Unified Diff: ash/common/accelerators/debug_commands.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
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/frame/custom_frame_view_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/accelerators/debug_commands.cc
diff --git a/ash/common/accelerators/debug_commands.cc b/ash/common/accelerators/debug_commands.cc
index 1b7d3b20e45b58c9e5805a8c3b88499c3371a49a..c84d84f82dabb837e1fc430ff2ac151cb54ad368 100644
--- a/ash/common/accelerators/debug_commands.cc
+++ b/ash/common/accelerators/debug_commands.cc
@@ -14,8 +14,8 @@
#include "ash/common/wm/maximize_mode/maximize_mode_controller.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 "ash/wm/window_properties.h"
#include "base/command_line.h"
#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
@@ -63,8 +63,7 @@ void PrintWindowHierarchy(const WmWindow* active_window,
<< ((window == active_window) ? " [active] " : " ")
<< (window->IsVisible() ? " visible " : " ")
<< window->GetBounds().ToString()
- << (window->GetBoolProperty(
- WmWindowProperty::SNAP_CHILDREN_TO_PIXEL_BOUNDARY)
+ << (window->aura_window()->GetProperty(kSnapChildrenToPixelBoundary)
? " [snapped] "
: "")
<< ", subpixel offset="
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/frame/custom_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698