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

Unified Diff: ash/test/ash_md_test_base.h

Issue 2692663002: Gut ash::MaterialDesignController, and remove the about:flags entry. (Closed)
Patch Set: terry review Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ash/test/ash_md_test_base.h
diff --git a/ash/test/ash_md_test_base.h b/ash/test/ash_md_test_base.h
deleted file mode 100644
index 41d2d764825a7985843b72a58d1037bcf2e75349..0000000000000000000000000000000000000000
--- a/ash/test/ash_md_test_base.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_TEST_ASH_MD_TEST_BASE_H_
-#define ASH_TEST_ASH_MD_TEST_BASE_H_
-
-#include "ash/common/material_design/material_design_controller.h"
-#include "ash/common/test/material_design_controller_test_api.h"
-#include "ash/test/ash_test_base.h"
-
-namespace ash {
-namespace test {
-
-class AshMDTestBase
- : public AshTestBase,
- public testing::WithParamInterface<ash::MaterialDesignController::Mode> {
- public:
- AshMDTestBase();
- ~AshMDTestBase() override;
-
- // AshTestBase:
- void SetUp() override;
-
- int GetMdMaximizedWindowHeightOffset();
- int GetMdAutoHiddenShelfHeightOffset();
-
- private:
- // The material design shelf is taller (by 1px) so use this offset to
- // adjust the expected height of a maximized window.
- int md_maximized_window_height_offset_ = 0;
-
- // The material design auto hidden shelf is shorter (by 3) so use this offset
- // to adjust the display/root window size.
- int md_auto_hidden_shelf_height_offset_ = 0;
-
- DISALLOW_COPY_AND_ASSIGN(AshMDTestBase);
-};
-
-} // namespace test
-} // namespace ash
-
-#endif // ASH_TEST_ASH_MD_TEST_BASE_H_
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/ash_md_test_base.cc » ('j') | ash/wm/window_state_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698