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

Side by Side Diff: ui/ozone/common/native_display_delegate_ozone.h

Issue 1119113004: Reland "Load and apply a vcgt table from an ICC file to the internal display" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vcgt-rebase
Patch Set: Add third_party/qcms to ash BUILD.gn 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_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 5 #ifndef UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
6 #define UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 6 #define UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "ui/display/types/native_display_delegate.h" 10 #include "ui/display/types/native_display_delegate.h"
(...skipping 25 matching lines...) Expand all
36 void GetHDCPState(const ui::DisplaySnapshot& output, 36 void GetHDCPState(const ui::DisplaySnapshot& output,
37 const GetHDCPStateCallback& callback) override; 37 const GetHDCPStateCallback& callback) override;
38 void SetHDCPState(const ui::DisplaySnapshot& output, 38 void SetHDCPState(const ui::DisplaySnapshot& output,
39 ui::HDCPState state, 39 ui::HDCPState state,
40 const SetHDCPStateCallback& callback) override; 40 const SetHDCPStateCallback& callback) override;
41 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 41 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
42 const ui::DisplaySnapshot& output) override; 42 const ui::DisplaySnapshot& output) override;
43 bool SetColorCalibrationProfile( 43 bool SetColorCalibrationProfile(
44 const ui::DisplaySnapshot& output, 44 const ui::DisplaySnapshot& output,
45 ui::ColorCalibrationProfile new_profile) override; 45 ui::ColorCalibrationProfile new_profile) override;
46 bool SetGammaRamp(const ui::DisplaySnapshot& output,
47 const std::vector<GammaRampRGBEntry>& lut) override;
48
46 void AddObserver(NativeDisplayObserver* observer) override; 49 void AddObserver(NativeDisplayObserver* observer) override;
47 void RemoveObserver(NativeDisplayObserver* observer) override; 50 void RemoveObserver(NativeDisplayObserver* observer) override;
48 51
49 private: 52 private:
50 ScopedVector<DisplaySnapshot> displays_; 53 ScopedVector<DisplaySnapshot> displays_;
51 54
52 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); 55 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone);
53 }; 56 };
54 57
55 } // namespace ui 58 } // namespace ui
56 59
57 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 60 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
OLDNEW
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_messages.h ('k') | ui/ozone/common/native_display_delegate_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698