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

Unified Diff: ash/mus/bridge/wm_window_mus_test_api.cc

Issue 2613793002: Removes/promotes functions from WmWindowMus to WmWindowAura (Closed)
Patch Set: move WmWindowAuraTestApi to ash/test Created 3 years, 11 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/mus/bridge/wm_window_mus_test_api.h ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus_test_api.cc
diff --git a/ash/mus/bridge/wm_window_mus_test_api.cc b/ash/mus/bridge/wm_window_mus_test_api.cc
deleted file mode 100644
index d6396b7a2b5fc85f25d87e5d0af6964c691f22cf..0000000000000000000000000000000000000000
--- a/ash/mus/bridge/wm_window_mus_test_api.cc
+++ /dev/null
@@ -1,32 +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.
-
-#include "ash/mus/bridge/wm_window_mus_test_api.h"
-
-namespace ash {
-namespace mus {
-
-// static
-int WmWindowMusTestApi::GlobalMinimumSizeLock::instance_count_ = 0;
-
-WmWindowMusTestApi::GlobalMinimumSizeLock::GlobalMinimumSizeLock() {
- if (instance_count_ == 0)
- WmWindowMusTestApi::SetDefaultUseEmptyMinimumSizeForTesting(true);
- instance_count_++;
-}
-
-WmWindowMusTestApi::GlobalMinimumSizeLock::~GlobalMinimumSizeLock() {
- DCHECK_GT(instance_count_, 0);
- instance_count_--;
- if (instance_count_ == 0)
- WmWindowMusTestApi::SetDefaultUseEmptyMinimumSizeForTesting(false);
-}
-
-// static
-void WmWindowMusTestApi::SetDefaultUseEmptyMinimumSizeForTesting(bool value) {
- WmWindowMus::default_use_empty_minimum_size_for_testing_ = value;
-}
-
-} // namespace mus
-} // namespace ash
« no previous file with comments | « ash/mus/bridge/wm_window_mus_test_api.h ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698