1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef ASH_WM_SPLITVIEW_MULTI_DISPLAY_OVERVIEW_AND_SPLIT_VIEW_TEST_H_ 6 #define ASH_WM_SPLITVIEW_MULTI_DISPLAY_OVERVIEW_AND_SPLIT_VIEW_TEST_H_ 7 8 #include "ash/ash_export.h" 9 #include "ash/test/ash_test_base.h" 10 #include "base/macros.h" 11 #include "base/test/scoped_feature_list.h" 12 13 namespace ash { 14 15 // Test with a parameter that determines whether to enable or disable the 16 // |ash::features::kMultiDisplayOverviewAndSplitView| feature flag. 17 class ASH_EXPORT MultiDisplayOverviewAndSplitViewTest 18 : public AshTestBase, 19 public testing::WithParamInterface<bool> { 20 public: 21 MultiDisplayOverviewAndSplitViewTest(); 22 ~MultiDisplayOverviewAndSplitViewTest() override; 23 24 // AshTestBase: 25 void SetUp() override; 26 void TearDown() override; 27 28 private: 29 base::test::ScopedFeatureList scoped_feature_list_; 30 31 DISALLOW_COPY_AND_ASSIGN(MultiDisplayOverviewAndSplitViewTest); 32 }; 33 34 } // namespace ash 35 36 #endif // ASH_WM_SPLITVIEW_MULTI_DISPLAY_OVERVIEW_AND_SPLIT_VIEW_TEST_H_ 37