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

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

Issue 2324163002: Add FakeDisplayDelegate for off device usage. (Closed)
Patch Set: Fix windows compile problems. Created 4 years, 3 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
« no previous file with comments | « ui/ozone/DEPS ('k') | ui/ozone/common/native_display_delegate_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const ui::DisplaySnapshot& output) override; 48 const ui::DisplaySnapshot& output) override;
49 bool SetColorCalibrationProfile( 49 bool SetColorCalibrationProfile(
50 const ui::DisplaySnapshot& output, 50 const ui::DisplaySnapshot& output,
51 ui::ColorCalibrationProfile new_profile) override; 51 ui::ColorCalibrationProfile new_profile) override;
52 bool SetColorCorrection(const ui::DisplaySnapshot& output, 52 bool SetColorCorrection(const ui::DisplaySnapshot& output,
53 const std::vector<GammaRampRGBEntry>& degamma_lut, 53 const std::vector<GammaRampRGBEntry>& degamma_lut,
54 const std::vector<GammaRampRGBEntry>& gamma_lut, 54 const std::vector<GammaRampRGBEntry>& gamma_lut,
55 const std::vector<float>& correction_matrix) override; 55 const std::vector<float>& correction_matrix) override;
56 void AddObserver(NativeDisplayObserver* observer) override; 56 void AddObserver(NativeDisplayObserver* observer) override;
57 void RemoveObserver(NativeDisplayObserver* observer) override; 57 void RemoveObserver(NativeDisplayObserver* observer) override;
58 58 display::FakeDisplayController* GetFakeDisplayController() override;
59 protected:
60 std::vector<std::unique_ptr<DisplaySnapshot>>& displays() {
61 return displays_;
62 }
63 59
64 private: 60 private:
65 std::vector<std::unique_ptr<DisplaySnapshot>> displays_; 61 std::vector<std::unique_ptr<DisplaySnapshot>> displays_;
66 62
67 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); 63 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone);
68 }; 64 };
69 65
70 } // namespace ui 66 } // namespace ui
71 67
72 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_ 68 #endif // UI_OZONE_COMMON_NATIVE_DISPLAY_DELEGATE_OZONE_H_
OLDNEW
« no previous file with comments | « ui/ozone/DEPS ('k') | ui/ozone/common/native_display_delegate_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698