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

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

Issue 2728803002: Handles users rotating screen too early (Closed)
Patch Set: Rebased, reset is_rotating in layerCleanupObserver etc. 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
OLDNEW
(Empty)
1 // Copyright (c) 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 #ifndef ASH_TEST_DISPLAY_CONFIGURATION_CONTROLLER_TEST_API_H_
6 #define ASH_TEST_DISPLAY_CONFIGURATION_CONTROLLER_TEST_API_H_
7
8 #include <stdint.h>
9
10 #include "base/macros.h"
11
12 namespace ash {
13 class DisplayConfigurationController;
14 class ScreenRotationAnimator;
15
16 namespace test {
17
18 // Accesses private data from a DisplayConfigurationController for testing.
19 class DisplayConfigurationControllerTestApi {
20 public:
21 explicit DisplayConfigurationControllerTestApi(
22 DisplayConfigurationController* controller);
23
24 void DisableDisplayAnimator();
25 int DisplayScreenRotationAnimatorMapSize();
26 ScreenRotationAnimator* GetScreenRotationAnimatorForDisplay(
bruthig 2017/03/08 22:35:59 nit: newline between declarations
wutao 2017/03/09 22:09:19 Done. When do we group functions together? For exa
bruthig 2017/03/10 22:34:07 I'm not sure if there's a concrete rule, but I wou
wutao 2017/03/14 16:46:37 Done.
27 int64_t display_id);
28
29 private:
30 DisplayConfigurationController* controller_;
31
32 DISALLOW_COPY_AND_ASSIGN(DisplayConfigurationControllerTestApi);
33 };
34
35 } // namespace test
36 } // namespace ash
37
38 #endif // ASH_TEST_DISPLAY_CONFIGURATION_CONTROLLER_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698