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

Side by Side Diff: ui/ozone/common/native_display_delegate_ozone.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 spang/oshima nits 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_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 24 matching lines...) Expand all
35 void CreateFrameBuffer(const gfx::Size& size) override; 35 void CreateFrameBuffer(const gfx::Size& size) override;
36 bool GetHDCPState(const ui::DisplaySnapshot& output, 36 bool GetHDCPState(const ui::DisplaySnapshot& output,
37 ui::HDCPState* state) override; 37 ui::HDCPState* state) override;
38 bool SetHDCPState(const ui::DisplaySnapshot& output, 38 bool SetHDCPState(const ui::DisplaySnapshot& output,
39 ui::HDCPState state) override; 39 ui::HDCPState state) override;
40 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 40 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
41 const ui::DisplaySnapshot& output) override; 41 const ui::DisplaySnapshot& output) override;
42 bool SetColorCalibrationProfile( 42 bool SetColorCalibrationProfile(
43 const ui::DisplaySnapshot& output, 43 const ui::DisplaySnapshot& output,
44 ui::ColorCalibrationProfile new_profile) override; 44 ui::ColorCalibrationProfile new_profile) override;
45 bool SetGammaRamp(const ui::DisplaySnapshot& output,
46 const std::vector<uint16_t>& r,
47 const std::vector<uint16_t>& g,
48 const std::vector<uint16_t>& b) override;
49
45 void AddObserver(NativeDisplayObserver* observer) override; 50 void AddObserver(NativeDisplayObserver* observer) override;
46 void RemoveObserver(NativeDisplayObserver* observer) override; 51 void RemoveObserver(NativeDisplayObserver* observer) override;
47 52
48 private: 53 private:
49 ScopedVector<DisplaySnapshot> displays_; 54 ScopedVector<DisplaySnapshot> displays_;
50 55
51 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); 56 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone);
52 }; 57 };
53 58
54 } // namespace ui 59 } // namespace ui
55 60
56 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 61 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698