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

Side by Side Diff: ash/wm/system_modal_container_layout_manager_unittest.cc

Issue 2067223003: Parameterize Ash unittests to pass with material design enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SupportsHostWindowResize() Created 4 years, 6 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698