Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
|
oshima
2017/03/17 19:42:00
remove (c). please check other new files.
wutao
2017/03/17 20:35:01
Missed this one. Checked again.
| |
| 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 // Wrapper functions for DisplayConfigurationController. | |
| 25 void DisableDisplayAnimator(); | |
| 26 int DisplayScreenRotationAnimatorMapSize(); | |
| 27 ScreenRotationAnimator* GetScreenRotationAnimatorForDisplay( | |
| 28 int64_t display_id); | |
| 29 | |
| 30 private: | |
| 31 DisplayConfigurationController* controller_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(DisplayConfigurationControllerTestApi); | |
| 34 }; | |
| 35 | |
| 36 } // namespace test | |
| 37 } // namespace ash | |
| 38 | |
| 39 #endif // ASH_TEST_DISPLAY_CONFIGURATION_CONTROLLER_TEST_API_H_ | |
| OLD | NEW |