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

Side by Side Diff: ui/display/chromeos/test/test_native_display_delegate.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/display/BUILD.gn ('k') | ui/display/chromeos/test/test_native_display_delegate.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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const DisplaySnapshot& output) override; 75 const DisplaySnapshot& output) override;
76 bool SetColorCalibrationProfile( 76 bool SetColorCalibrationProfile(
77 const DisplaySnapshot& output, 77 const DisplaySnapshot& output,
78 ui::ColorCalibrationProfile new_profile) override; 78 ui::ColorCalibrationProfile new_profile) override;
79 bool SetColorCorrection(const ui::DisplaySnapshot& output, 79 bool SetColorCorrection(const ui::DisplaySnapshot& output,
80 const std::vector<GammaRampRGBEntry>& degamma_lut, 80 const std::vector<GammaRampRGBEntry>& degamma_lut,
81 const std::vector<GammaRampRGBEntry>& gamma_lut, 81 const std::vector<GammaRampRGBEntry>& gamma_lut,
82 const std::vector<float>& correction_matrix) override; 82 const std::vector<float>& correction_matrix) override;
83 void AddObserver(NativeDisplayObserver* observer) override; 83 void AddObserver(NativeDisplayObserver* observer) override;
84 void RemoveObserver(NativeDisplayObserver* observer) override; 84 void RemoveObserver(NativeDisplayObserver* observer) override;
85 display::FakeDisplayController* GetFakeDisplayController() override;
85 86
86 private: 87 private:
87 bool Configure(const DisplaySnapshot& output, 88 bool Configure(const DisplaySnapshot& output,
88 const DisplayMode* mode, 89 const DisplayMode* mode,
89 const gfx::Point& origin); 90 const gfx::Point& origin);
90 91
91 // Outputs to be returned by GetDisplays(). 92 // Outputs to be returned by GetDisplays().
92 std::vector<DisplaySnapshot*> outputs_; 93 std::vector<DisplaySnapshot*> outputs_;
93 94
94 // |max_configurable_pixels_| represents the maximum number of pixels that 95 // |max_configurable_pixels_| represents the maximum number of pixels that
(...skipping 15 matching lines...) Expand all
110 111
111 ActionLogger* log_; // Not owned. 112 ActionLogger* log_; // Not owned.
112 113
113 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); 114 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate);
114 }; 115 };
115 116
116 } // namespace test 117 } // namespace test
117 } // namespace ui 118 } // namespace ui
118 119
119 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 120 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/display/BUILD.gn ('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