OLD | NEW |
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 #ifndef ASH_TEST_DISPLAY_MANAGER_TEST_API_H_ | 5 #ifndef ASH_TEST_DISPLAY_MANAGER_TEST_API_H_ |
6 #define ASH_TEST_DISPLAY_MANAGER_TEST_API_H_ | 6 #define ASH_TEST_DISPLAY_MANAGER_TEST_API_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void SetAvailableColorProfiles( | 59 void SetAvailableColorProfiles( |
60 int64 display_id, | 60 int64 display_id, |
61 const std::vector<ui::ColorCalibrationProfile>& profiles); | 61 const std::vector<ui::ColorCalibrationProfile>& profiles); |
62 | 62 |
63 private: | 63 private: |
64 DisplayManager* display_manager_; // not owned | 64 DisplayManager* display_manager_; // not owned |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(DisplayManagerTestApi); | 66 DISALLOW_COPY_AND_ASSIGN(DisplayManagerTestApi); |
67 }; | 67 }; |
68 | 68 |
| 69 class ScopedDisable125DSFForUIScaling { |
| 70 public: |
| 71 ScopedDisable125DSFForUIScaling(); |
| 72 ~ScopedDisable125DSFForUIScaling(); |
| 73 |
| 74 private: |
| 75 DISALLOW_COPY_AND_ASSIGN(ScopedDisable125DSFForUIScaling); |
| 76 }; |
| 77 |
69 } // namespace test | 78 } // namespace test |
70 } // namespace ash | 79 } // namespace ash |
71 | 80 |
72 #endif // ASH_TEST_DISPLAY_MANAGER_TEST_API_H_ | 81 #endif // ASH_TEST_DISPLAY_MANAGER_TEST_API_H_ |
OLD | NEW |