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

Unified Diff: ash/wm/overview/window_selector_unittest.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/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 154ef4346ece2e54d60fc143b661de39a2138b43..02cecca70c13dd886d5cc69712a40809756b7fe8 100644
--- a/ash/wm/overview/window_selector_unittest.cc
+++ b/ash/wm/overview/window_selector_unittest.cc
@@ -27,7 +27,6 @@
#include "ash/common/wm_lookup.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"
@@ -161,7 +160,8 @@ class WindowSelectorTest : public test::AshTestBase {
widget->Init(params);
widget->Show();
WmWindow* window = WmLookup::Get()->GetWindowForWidget(widget.get());
- 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 = WmLookup::Get()->GetWindowForWidget(widget.get());
- window->SetIntProperty(WmWindowProperty::TOP_VIEW_INSET, kHeaderHeight);
+ window->aura_window()->SetProperty(aura::client::kTopViewInset,
+ kHeaderHeight);
ASSERT_EQ(root_windows[1], window1->GetRootWindow());

Powered by Google App Engine
This is Rietveld 408576698