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

Side by Side Diff: ash/test/display_configuration_controller_test_api.cc

Issue 2728803002: Handles users rotating screen too early (Closed)
Patch Set: Rebased to commit. Created 3 years, 9 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/test/display_configuration_controller_test_api.h ('k') | ash/test/shell_test_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/test/display_configuration_controller_test_api.h"
6
7 #include "ash/display/display_configuration_controller.h"
8
9 namespace ash {
10 namespace test {
11
12 DisplayConfigurationControllerTestApi::DisplayConfigurationControllerTestApi(
13 DisplayConfigurationController* controller)
14 : controller_(controller) {}
15
16 void DisplayConfigurationControllerTestApi::DisableDisplayAnimator() {
17 controller_->ResetAnimatorForTest();
18 }
19
20 int DisplayConfigurationControllerTestApi::
21 DisplayScreenRotationAnimatorMapSize() {
22 return controller_->rotation_animator_map_.size();
23 }
24
25 ScreenRotationAnimator*
26 DisplayConfigurationControllerTestApi::GetScreenRotationAnimatorForDisplay(
27 int64_t display_id) {
28 return controller_->GetScreenRotationAnimatorForDisplay(display_id);
29 }
30
31 } // namespace test
32 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/display_configuration_controller_test_api.h ('k') | ash/test/shell_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698