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

Unified Diff: ash/common/wm/workspace/workspace_layout_manager.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/wm_snap_to_pixel_layout_manager.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/workspace/workspace_layout_manager.cc
diff --git a/ash/common/wm/workspace/workspace_layout_manager.cc b/ash/common/wm/workspace/workspace_layout_manager.cc
index 4d7ef881a8e0887cf173ba8f337bddb63fdc5d65..055ff856e862a4ed7ba3c72fbe4129260ea9d6c9 100644
--- a/ash/common/wm/workspace/workspace_layout_manager.cc
+++ b/ash/common/wm/workspace/workspace_layout_manager.cc
@@ -17,9 +17,9 @@
#include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/root_window_controller.h"
+#include "ash/wm/window_properties.h"
#include "ash/wm/window_state_aura.h"
#include "base/command_line.h"
#include "ui/aura/client/aura_constants.h"
@@ -43,8 +43,7 @@ WorkspaceLayoutManager::WorkspaceLayoutManager(WmWindow* window)
shell_->AddActivationObserver(this);
root_window_->aura_window()->AddObserver(this);
display::Screen::GetScreen()->AddObserver(this);
- DCHECK(window->GetBoolProperty(
- WmWindowProperty::SNAP_CHILDREN_TO_PIXEL_BOUNDARY));
+ DCHECK(window->aura_window()->GetProperty(kSnapChildrenToPixelBoundary));
}
WorkspaceLayoutManager::~WorkspaceLayoutManager() {
« no previous file with comments | « ash/common/wm/wm_snap_to_pixel_layout_manager.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698