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

Side by Side Diff: trunk/src/ash/wm/session_state_controller_impl2_unittest.cc

Issue 15838015: Revert 202787 "Remove unnecessary ui::CompositorTestSupport" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/ash/test/test_suite.cc ('k') | trunk/src/chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ash/wm/session_state_controller_impl2.h" 5 #include "ash/wm/session_state_controller_impl2.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/session_state_delegate.h" 8 #include "ash/session_state_delegate.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/test/test_shell_delegate.h" 12 #include "ash/test/test_shell_delegate.h"
13 #include "ash/wm/power_button_controller.h" 13 #include "ash/wm/power_button_controller.h"
14 #include "ash/wm/session_state_animator.h" 14 #include "ash/wm/session_state_animator.h"
15 #include "ash/wm/session_state_controller.h" 15 #include "ash/wm/session_state_controller.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "ui/aura/env.h" 19 #include "ui/aura/env.h"
20 #include "ui/aura/root_window.h" 20 #include "ui/aura/root_window.h"
21 #include "ui/aura/test/event_generator.h" 21 #include "ui/aura/test/event_generator.h"
22 #include "ui/compositor/layer_animator.h" 22 #include "ui/compositor/layer_animator.h"
23 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 23 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
24 #include "ui/compositor/scoped_layer_animation_settings.h" 24 #include "ui/compositor/scoped_layer_animation_settings.h"
25 #include "ui/compositor/test/compositor_test_support.h"
25 #include "ui/gfx/rect.h" 26 #include "ui/gfx/rect.h"
26 #include "ui/gfx/size.h" 27 #include "ui/gfx/size.h"
27 28
28 #if defined(OS_WIN) 29 #if defined(OS_WIN)
29 #include "base/win/windows_version.h" 30 #include "base/win/windows_version.h"
30 #endif 31 #endif
31 32
32 namespace ash { 33 namespace ash {
33 34
34 using internal::SessionStateAnimator; 35 using internal::SessionStateAnimator;
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1063
1063 Advance(SessionStateAnimator::ANIMATION_SPEED_MOVE_WINDOWS); 1064 Advance(SessionStateAnimator::ANIMATION_SPEED_MOVE_WINDOWS);
1064 ExpectUnlockAfterUIDestroyedAnimationFinished(); 1065 ExpectUnlockAfterUIDestroyedAnimationFinished();
1065 EXPECT_TRUE(IsBackgroundHidden()); 1066 EXPECT_TRUE(IsBackgroundHidden());
1066 1067
1067 ExpectUnlockedState(); 1068 ExpectUnlockedState();
1068 } 1069 }
1069 1070
1070 } // namespace test 1071 } // namespace test
1071 } // namespace ash 1072 } // namespace ash
OLDNEW
« no previous file with comments | « trunk/src/ash/test/test_suite.cc ('k') | trunk/src/chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698