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

Unified Diff: ash/common/wm/dock/docked_window_resizer.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/common/wm/container_finder.cc ('k') | ash/common/wm/drag_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/dock/docked_window_resizer.cc
diff --git a/ash/common/wm/dock/docked_window_resizer.cc b/ash/common/wm/dock/docked_window_resizer.cc
index 9379452f5f6d9a6019d09e77112927d85ee2cd4b..f2ea238d33dc9ccd9be4789d6c6a8374a2bab216 100644
--- a/ash/common/wm/dock/docked_window_resizer.cc
+++ b/ash/common/wm/dock/docked_window_resizer.cc
@@ -10,8 +10,8 @@
#include "ash/common/wm/wm_event.h"
#include "ash/common/wm/workspace/magnetism_matcher.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
#include "ash/public/cpp/shell_window_ids.h"
+#include "ash/public/cpp/window_properties.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ui/base/hit_test.h"
@@ -205,7 +205,7 @@ void DockedWindowResizer::FinishedDragging(
WmWindow* window = GetTarget();
const bool is_attached_panel =
window->GetType() == ui::wm::WINDOW_TYPE_PANEL &&
- window->GetBoolProperty(WmWindowProperty::PANEL_ATTACHED);
+ window->aura_window()->GetProperty(kPanelAttachedKey);
const bool is_resized =
(details().bounds_change & WindowResizer::kBoundsChange_Resizes) != 0;
« no previous file with comments | « ash/common/wm/container_finder.cc ('k') | ash/common/wm/drag_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698