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

Unified Diff: ash/common/wm/dock/docked_window_resizer.cc

Issue 2731663002: Remove WmWindowProperty (Closed)
Patch Set: 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/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 44774f1e53b79683a8cdc21b75848b4502bd0537..271c38b2c5f2bc4dca80b25708d35855b232abed 100644
--- a/ash/common/wm/dock/docked_window_resizer.cc
+++ b/ash/common/wm/dock/docked_window_resizer.cc
@@ -11,8 +11,8 @@
#include "ash/common/wm/workspace/magnetism_matcher.h"
#include "ash/common/wm_lookup.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 "ui/base/hit_test.h"
#include "ui/base/ui_base_types.h"
@@ -207,7 +207,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;

Powered by Google App Engine
This is Rietveld 408576698