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

Side by Side Diff: ash/mus/test/wm_test_base.h

Issue 2629643002: chromeos: Renames WmWindowAura to WmWindow (Closed)
Patch Set: feedback 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 unified diff | Download patch
« no previous file with comments | « ash/mus/test/ash_test_impl_mus.cc ('k') | ash/mus/test/wm_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef ASH_MUS_TEST_WM_TEST_BASE_H_ 5 #ifndef ASH_MUS_TEST_WM_TEST_BASE_H_
6 #define ASH_MUS_TEST_WM_TEST_BASE_H_ 6 #define ASH_MUS_TEST_WM_TEST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "ash/test/wm_window_aura_test_api.h" 11 #include "ash/test/wm_window_test_api.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "ui/display/display.h" 14 #include "ui/display/display.h"
15 #include "ui/wm/public/window_types.h" 15 #include "ui/wm/public/window_types.h"
16 16
17 namespace aura { 17 namespace aura {
18 class Window; 18 class Window;
19 } 19 }
20 20
21 namespace display { 21 namespace display {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 private: 82 private:
83 friend class AshTestImplMus; 83 friend class AshTestImplMus;
84 84
85 // Simulates the first user logging in and the session becoming active. 85 // Simulates the first user logging in and the session becoming active.
86 // Classic ash handles this via AshTestHelper and TestSessionStateDelegate. 86 // Classic ash handles this via AshTestHelper and TestSessionStateDelegate.
87 void SimulateUserLogin(); 87 void SimulateUserLogin();
88 88
89 bool setup_called_ = false; 89 bool setup_called_ = false;
90 bool teardown_called_ = false; 90 bool teardown_called_ = false;
91 std::unique_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_; 91 std::unique_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_;
92 std::unique_ptr<WmWindowAuraTestApi::GlobalMinimumSizeLock> 92 std::unique_ptr<WmWindowTestApi::GlobalMinimumSizeLock> minimum_size_lock_;
93 minimum_size_lock_;
94 std::unique_ptr<WmTestHelper> test_helper_; 93 std::unique_ptr<WmTestHelper> test_helper_;
95 94
96 DISALLOW_COPY_AND_ASSIGN(WmTestBase); 95 DISALLOW_COPY_AND_ASSIGN(WmTestBase);
97 }; 96 };
98 97
99 } // namespace mus 98 } // namespace mus
100 } // namespace ash 99 } // namespace ash
101 100
102 #endif // ASH_MUS_TEST_WM_TEST_BASE_H_ 101 #endif // ASH_MUS_TEST_WM_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ash/mus/test/ash_test_impl_mus.cc ('k') | ash/mus/test/wm_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698