OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/wm/system_modal_container_layout_manager.h" | 5 #include "ash/wm/system_modal_container_layout_manager.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "ash/common/session/session_state_delegate.h" | 9 #include "ash/common/session/session_state_delegate.h" |
10 #include "ash/common/shell_window_ids.h" | 10 #include "ash/common/shell_window_ids.h" |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
763 | 763 |
764 } // namespace | 764 } // namespace |
765 | 765 |
766 TEST_F(SystemModalContainerLayoutManagerTest, BlockAllEvents) { | 766 TEST_F(SystemModalContainerLayoutManagerTest, BlockAllEvents) { |
767 InputTestDelegate delegate; | 767 InputTestDelegate delegate; |
768 delegate.RunTest(this); | 768 delegate.RunTest(this); |
769 } | 769 } |
770 | 770 |
771 // Make sure that events are properly blocked in multi displays environment. | 771 // Make sure that events are properly blocked in multi displays environment. |
772 TEST_F(SystemModalContainerLayoutManagerTest, BlockEventsInMultiDisplays) { | 772 TEST_F(SystemModalContainerLayoutManagerTest, BlockEventsInMultiDisplays) { |
773 if (!SupportsMultipleDisplays()) | |
tdanderson
2016/06/22 20:57:27
moved this to https://codereview.chromium.org/2089
| |
774 return; | |
775 | |
773 UpdateDisplay("500x500, 500x500"); | 776 UpdateDisplay("500x500, 500x500"); |
774 InputTestDelegate delegate; | 777 InputTestDelegate delegate; |
775 delegate.RunTest(this); | 778 delegate.RunTest(this); |
776 } | 779 } |
777 | 780 |
778 } // namespace test | 781 } // namespace test |
779 } // namespace ash | 782 } // namespace ash |
OLD | NEW |