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

Unified Diff: ash/test/wm_window_test_api.h

Issue 2901663003: chromeos: converts WindowState to aura::Window (Closed)
Patch Set: feedback Created 3 years, 7 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
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/wm_window_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/wm_window_test_api.h
diff --git a/ash/test/wm_window_test_api.h b/ash/test/wm_window_test_api.h
deleted file mode 100644
index a018f8b7b475940feb5031c056d7aeba7112e651..0000000000000000000000000000000000000000
--- a/ash/test/wm_window_test_api.h
+++ /dev/null
@@ -1,41 +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_WM_WINDOW_TEST_API_H_
-#define ASH_TEST_WM_WINDOW_TEST_API_H_
-
-#include "ash/wm_window.h"
-
-namespace ash {
-
-class WmWindowTestApi {
- public:
- // Used by tests to set the default value of
- // |WmWindow::default_use_empty_minimum_size_for_testing_|. This is needed
- // as tests don't have a good way to reset the value of
- // |use_empty_minimum_size_for_testing_| before the minimum size is queried.
- class GlobalMinimumSizeLock {
- public:
- GlobalMinimumSizeLock();
- ~GlobalMinimumSizeLock();
-
- private:
- // Number of instances of GlobalMinimumSizeLock that have been created.
- static int instance_count_;
-
- DISALLOW_COPY_AND_ASSIGN(GlobalMinimumSizeLock);
- };
-
- WmWindowTestApi() {}
- ~WmWindowTestApi() {}
-
- private:
- static void SetDefaultUseEmptyMinimumSizeForTesting(bool value);
-
- DISALLOW_COPY_AND_ASSIGN(WmWindowTestApi);
-};
-
-} // namespace ash
-
-#endif // ASH_TEST_WM_WINDOW_TEST_API_H_
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/wm_window_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698