OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ |
6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ | 6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void GetHDCPState(const DisplaySnapshot& output, | 66 void GetHDCPState(const DisplaySnapshot& output, |
67 const GetHDCPStateCallback& callback) override; | 67 const GetHDCPStateCallback& callback) override; |
68 void SetHDCPState(const DisplaySnapshot& output, | 68 void SetHDCPState(const DisplaySnapshot& output, |
69 HDCPState state, | 69 HDCPState state, |
70 const SetHDCPStateCallback& callback) override; | 70 const SetHDCPStateCallback& callback) override; |
71 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( | 71 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( |
72 const DisplaySnapshot& output) override; | 72 const DisplaySnapshot& output) override; |
73 bool SetColorCalibrationProfile( | 73 bool SetColorCalibrationProfile( |
74 const DisplaySnapshot& output, | 74 const DisplaySnapshot& output, |
75 ui::ColorCalibrationProfile new_profile) override; | 75 ui::ColorCalibrationProfile new_profile) override; |
76 bool SetGammaRamp(const ui::DisplaySnapshot& output, | |
77 const std::vector<GammaRampRGBEntry>& lut) override; | |
78 void AddObserver(NativeDisplayObserver* observer) override; | 76 void AddObserver(NativeDisplayObserver* observer) override; |
79 void RemoveObserver(NativeDisplayObserver* observer) override; | 77 void RemoveObserver(NativeDisplayObserver* observer) override; |
80 | 78 |
81 private: | 79 private: |
82 bool Configure(const DisplaySnapshot& output, | 80 bool Configure(const DisplaySnapshot& output, |
83 const DisplayMode* mode, | 81 const DisplayMode* mode, |
84 const gfx::Point& origin); | 82 const gfx::Point& origin); |
85 | 83 |
86 // Outputs to be returned by GetDisplays(). | 84 // Outputs to be returned by GetDisplays(). |
87 std::vector<DisplaySnapshot*> outputs_; | 85 std::vector<DisplaySnapshot*> outputs_; |
(...skipping 17 matching lines...) Expand all Loading... |
105 | 103 |
106 ActionLogger* log_; // Not owned. | 104 ActionLogger* log_; // Not owned. |
107 | 105 |
108 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); | 106 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); |
109 }; | 107 }; |
110 | 108 |
111 } // namespace test | 109 } // namespace test |
112 } // namespace ui | 110 } // namespace ui |
113 | 111 |
114 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ | 112 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ |
OLD | NEW |