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

Unified Diff: ash/wm/overview/window_selector_unittest.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/shell/window_watcher.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_unittest.cc
diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
index 73fb5a637c47086ffd2acc599168305da327c4ec..0629a5d9352913f25ca9c69049613d52d1453595 100644
--- a/ash/wm/overview/window_selector_unittest.cc
+++ b/ash/wm/overview/window_selector_unittest.cc
@@ -26,7 +26,6 @@
#include "ash/common/wm/workspace/workspace_window_resizer.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_property.h"
#include "ash/drag_drop/drag_drop_controller.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/root_window_controller.h"
@@ -160,7 +159,8 @@ class WindowSelectorTest : public test::AshTestBase {
widget->Init(params);
widget->Show();
WmWindow* window = WmWindow::Get(widget->GetNativeWindow());
- window->SetIntProperty(WmWindowProperty::TOP_VIEW_INSET, kHeaderHeight);
+ window->aura_window()->SetProperty(aura::client::kTopViewInset,
+ kHeaderHeight);
ParentWindowInPrimaryRootWindow(widget->GetNativeWindow());
return widget;
}
@@ -1130,7 +1130,8 @@ TEST_F(WindowSelectorTest, CloseButtonOnMultipleDisplay) {
widget->Init(params);
widget->Show();
WmWindow* window = WmWindow::Get(widget->GetNativeWindow());
- window->SetIntProperty(WmWindowProperty::TOP_VIEW_INSET, kHeaderHeight);
+ window->aura_window()->SetProperty(aura::client::kTopViewInset,
+ kHeaderHeight);
ASSERT_EQ(root_windows[1], window1->GetRootWindow());
« no previous file with comments | « ash/shell/window_watcher.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698