| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "athena/wm/public/window_manager.h" | 5 #include "athena/wm/public/window_manager.h" |
| 6 | 6 |
| 7 #include "athena/screen/public/screen_manager.h" | 7 #include "athena/screen/public/screen_manager.h" |
| 8 #include "athena/test/athena_test_base.h" | 8 #include "athena/test/base/athena_test_base.h" |
| 9 #include "athena/wm/public/window_list_provider.h" | 9 #include "athena/wm/public/window_list_provider.h" |
| 10 #include "athena/wm/split_view_controller.h" | 10 #include "athena/wm/split_view_controller.h" |
| 11 #include "athena/wm/test/window_manager_impl_test_api.h" | 11 #include "athena/wm/test/window_manager_impl_test_api.h" |
| 12 #include "athena/wm/window_manager_impl.h" | 12 #include "athena/wm/window_manager_impl.h" |
| 13 #include "ui/aura/client/window_tree_client.h" | 13 #include "ui/aura/client/window_tree_client.h" |
| 14 #include "ui/aura/test/test_window_delegate.h" | 14 #include "ui/aura/test/test_window_delegate.h" |
| 15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
| 16 #include "ui/base/hit_test.h" | 16 #include "ui/base/hit_test.h" |
| 17 #include "ui/events/test/event_generator.h" | 17 #include "ui/events/test/event_generator.h" |
| 18 #include "ui/gfx/display.h" | 18 #include "ui/gfx/display.h" |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 WindowOverviewModeDelegate* overview_delegate = wm_api.wm(); | 355 WindowOverviewModeDelegate* overview_delegate = wm_api.wm(); |
| 356 overview_delegate->OnSelectWindow(w1.get()); | 356 overview_delegate->OnSelectWindow(w1.get()); |
| 357 EXPECT_FALSE(wm_api.GetSplitViewController()->IsSplitViewModeActive()); | 357 EXPECT_FALSE(wm_api.GetSplitViewController()->IsSplitViewModeActive()); |
| 358 EXPECT_TRUE(w1->IsVisible()); | 358 EXPECT_TRUE(w1->IsVisible()); |
| 359 // Make sure the windows that were in split-view mode are hidden. | 359 // Make sure the windows that were in split-view mode are hidden. |
| 360 EXPECT_FALSE(w2->IsVisible()); | 360 EXPECT_FALSE(w2->IsVisible()); |
| 361 EXPECT_FALSE(w3->IsVisible()); | 361 EXPECT_FALSE(w3->IsVisible()); |
| 362 } | 362 } |
| 363 | 363 |
| 364 } // namespace athena | 364 } // namespace athena |
| OLD | NEW |