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

Side by Side Diff: ash/wm/lock_state_controller_unittest.cc

Issue 2118643002: Move MaximizeModeController into ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doh Created 4 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/lock_state_controller.h" 5 #include "ash/wm/lock_state_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/common/session/session_state_delegate.h" 10 #include "ash/common/session/session_state_delegate.h"
11 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
11 #include "ash/common/wm_shell.h" 12 #include "ash/common/wm_shell.h"
12 #include "ash/shell.h" 13 #include "ash/shell.h"
13 #include "ash/test/ash_test_base.h" 14 #include "ash/test/ash_test_base.h"
14 #include "ash/test/test_lock_state_controller_delegate.h" 15 #include "ash/test/test_lock_state_controller_delegate.h"
15 #include "ash/test/test_screenshot_delegate.h" 16 #include "ash/test/test_screenshot_delegate.h"
16 #include "ash/test/test_session_state_animator.h" 17 #include "ash/test/test_session_state_animator.h"
17 #include "ash/test/test_shell_delegate.h" 18 #include "ash/test/test_shell_delegate.h"
18 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
19 #include "ash/wm/power_button_controller.h" 19 #include "ash/wm/power_button_controller.h"
20 #include "ash/wm/session_state_animator.h" 20 #include "ash/wm/session_state_animator.h"
21 #include "base/memory/scoped_vector.h" 21 #include "base/memory/scoped_vector.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "ui/events/test/event_generator.h" 23 #include "ui/events/test/event_generator.h"
24 #include "ui/gfx/geometry/size.h" 24 #include "ui/gfx/geometry/size.h"
25 25
26 #if defined(OS_CHROMEOS) 26 #if defined(OS_CHROMEOS)
27 #include "ui/display/chromeos/display_configurator.h" 27 #include "ui/display/chromeos/display_configurator.h"
28 #include "ui/display/chromeos/test/test_display_snapshot.h" 28 #include "ui/display/chromeos/test/test_display_snapshot.h"
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 ReleasePowerButton(); 1080 ReleasePowerButton();
1081 1081
1082 ExpectPreLockAnimationStarted(); 1082 ExpectPreLockAnimationStarted();
1083 1083
1084 test_animator_->CompleteAllAnimations(true); 1084 test_animator_->CompleteAllAnimations(true);
1085 EXPECT_EQ(1, lock_state_controller_delegate_->num_lock_requests()); 1085 EXPECT_EQ(1, lock_state_controller_delegate_->num_lock_requests());
1086 } 1086 }
1087 1087
1088 } // namespace test 1088 } // namespace test
1089 } // namespace ash 1089 } // namespace ash
OLDNEW
« no previous file with comments | « ash/virtual_keyboard_controller_unittest.cc ('k') | ash/wm/maximize_mode/maximize_mode_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698