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

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: Add ash::DisplayColorManager Created 5 years, 8 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const gfx::Point& origin, 55 const gfx::Point& origin,
56 const ConfigureCallback& callback) override; 56 const ConfigureCallback& callback) override;
57 void CreateFrameBuffer(const gfx::Size& size) override; 57 void CreateFrameBuffer(const gfx::Size& size) override;
58 bool GetHDCPState(const DisplaySnapshot& output, HDCPState* state) override; 58 bool GetHDCPState(const DisplaySnapshot& output, HDCPState* state) override;
59 bool SetHDCPState(const DisplaySnapshot& output, HDCPState state) override; 59 bool SetHDCPState(const DisplaySnapshot& output, HDCPState state) override;
60 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 60 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
61 const DisplaySnapshot& output) override; 61 const DisplaySnapshot& output) override;
62 bool SetColorCalibrationProfile( 62 bool SetColorCalibrationProfile(
63 const DisplaySnapshot& output, 63 const DisplaySnapshot& output,
64 ui::ColorCalibrationProfile new_profile) override; 64 ui::ColorCalibrationProfile new_profile) override;
65 bool SetGammaRamp(const ui::DisplaySnapshot& output,
66 const std::vector<uint16_t>& r,
67 const std::vector<uint16_t>& g,
68 const std::vector<uint16_t>& b) override;
65 void AddObserver(NativeDisplayObserver* observer) override; 69 void AddObserver(NativeDisplayObserver* observer) override;
66 void RemoveObserver(NativeDisplayObserver* observer) override; 70 void RemoveObserver(NativeDisplayObserver* observer) override;
67 71
68 private: 72 private:
69 bool Configure(const DisplaySnapshot& output, 73 bool Configure(const DisplaySnapshot& output,
70 const DisplayMode* mode, 74 const DisplayMode* mode,
71 const gfx::Point& origin); 75 const gfx::Point& origin);
72 76
73 // Outputs to be returned by GetDisplays(). 77 // Outputs to be returned by GetDisplays().
74 std::vector<DisplaySnapshot*> outputs_; 78 std::vector<DisplaySnapshot*> outputs_;
(...skipping 14 matching lines...) Expand all
89 93
90 ActionLogger* log_; // Not owned. 94 ActionLogger* log_; // Not owned.
91 95
92 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); 96 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate);
93 }; 97 };
94 98
95 } // namespace test 99 } // namespace test
96 } // namespace ui 100 } // namespace ui
97 101
98 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 102 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698