| Index: ash/wm/drag_window_resizer_unittest.cc
|
| diff --git a/ash/wm/drag_window_resizer_unittest.cc b/ash/wm/drag_window_resizer_unittest.cc
|
| index 0514ad5a0490a49df5fd9fb8e8feb9ba26a287a1..fb33a98d1a769e1d8a1c9843e45e73874f2bc8f4 100644
|
| --- a/ash/wm/drag_window_resizer_unittest.cc
|
| +++ b/ash/wm/drag_window_resizer_unittest.cc
|
| @@ -56,14 +56,14 @@ class DragWindowResizerTest : public test::AshTestBase {
|
| Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets());
|
| window_.reset(new aura::Window(&delegate_));
|
| window_->SetType(ui::wm::WINDOW_TYPE_NORMAL);
|
| - window_->Init(ui::LAYER_NOT_DRAWN);
|
| + window_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
|
| ParentWindowInPrimaryRootWindow(window_.get());
|
| window_->set_id(1);
|
|
|
| always_on_top_window_.reset(new aura::Window(&delegate2_));
|
| always_on_top_window_->SetType(ui::wm::WINDOW_TYPE_NORMAL);
|
| always_on_top_window_->SetProperty(aura::client::kAlwaysOnTopKey, true);
|
| - always_on_top_window_->Init(ui::LAYER_NOT_DRAWN);
|
| + always_on_top_window_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
|
| ParentWindowInPrimaryRootWindow(always_on_top_window_.get());
|
| always_on_top_window_->set_id(2);
|
|
|
| @@ -71,26 +71,26 @@ class DragWindowResizerTest : public test::AshTestBase {
|
| system_modal_window_->SetType(ui::wm::WINDOW_TYPE_NORMAL);
|
| system_modal_window_->SetProperty(aura::client::kModalKey,
|
| ui::MODAL_TYPE_SYSTEM);
|
| - system_modal_window_->Init(ui::LAYER_NOT_DRAWN);
|
| + system_modal_window_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
|
| ParentWindowInPrimaryRootWindow(system_modal_window_.get());
|
| system_modal_window_->set_id(3);
|
|
|
| transient_child_ = new aura::Window(&delegate4_);
|
| transient_child_->SetType(ui::wm::WINDOW_TYPE_NORMAL);
|
| - transient_child_->Init(ui::LAYER_NOT_DRAWN);
|
| + transient_child_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
|
| ParentWindowInPrimaryRootWindow(transient_child_);
|
| transient_child_->set_id(4);
|
|
|
| transient_parent_.reset(new aura::Window(&delegate5_));
|
| transient_parent_->SetType(ui::wm::WINDOW_TYPE_NORMAL);
|
| - transient_parent_->Init(ui::LAYER_NOT_DRAWN);
|
| + transient_parent_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
|
| ParentWindowInPrimaryRootWindow(transient_parent_.get());
|
| views::corewm::AddTransientChild(transient_parent_.get(), transient_child_);
|
| transient_parent_->set_id(5);
|
|
|
| panel_window_.reset(new aura::Window(&delegate6_));
|
| panel_window_->SetType(ui::wm::WINDOW_TYPE_PANEL);
|
| - panel_window_->Init(ui::LAYER_NOT_DRAWN);
|
| + panel_window_->Init(aura::WINDOW_LAYER_NOT_DRAWN);
|
| ParentWindowInPrimaryRootWindow(panel_window_.get());
|
| }
|
|
|
| @@ -294,7 +294,7 @@ TEST_F(DragWindowResizerTest, WindowDragWithMultiDisplaysActiveRoot) {
|
| aura::test::TestWindowDelegate delegate;
|
| scoped_ptr<aura::Window> window(new aura::Window(&delegate));
|
| window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
|
| - window->Init(ui::LAYER_TEXTURED);
|
| + window->Init(aura::WINDOW_LAYER_TEXTURED);
|
| ParentWindowInPrimaryRootWindow(window.get());
|
| window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60),
|
| Shell::GetScreen()->GetPrimaryDisplay());
|
|
|