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

Side by Side Diff: ui/display/chromeos/test/test_native_display_delegate.h

Issue 1028563003: Load and apply a vcgt table from an ICC file to the internal display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ozone build Created 5 years, 7 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
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
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;
76 void AddObserver(NativeDisplayObserver* observer) override; 78 void AddObserver(NativeDisplayObserver* observer) override;
77 void RemoveObserver(NativeDisplayObserver* observer) override; 79 void RemoveObserver(NativeDisplayObserver* observer) override;
78 80
79 private: 81 private:
80 bool Configure(const DisplaySnapshot& output, 82 bool Configure(const DisplaySnapshot& output,
81 const DisplayMode* mode, 83 const DisplayMode* mode,
82 const gfx::Point& origin); 84 const gfx::Point& origin);
83 85
84 // Outputs to be returned by GetDisplays(). 86 // Outputs to be returned by GetDisplays().
85 std::vector<DisplaySnapshot*> outputs_; 87 std::vector<DisplaySnapshot*> outputs_;
(...skipping 17 matching lines...) Expand all
103 105
104 ActionLogger* log_; // Not owned. 106 ActionLogger* log_; // Not owned.
105 107
106 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); 108 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate);
107 }; 109 };
108 110
109 } // namespace test 111 } // namespace test
110 } // namespace ui 112 } // namespace ui
111 113
112 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 114 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/action_logger_util.cc ('k') | ui/display/chromeos/test/test_native_display_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698