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

Side by Side Diff: ui/display/chromeos/test/test_display_snapshot.cc

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Rebase after quirks changes Created 4 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 #include "ui/display/chromeos/test/test_display_snapshot.h" 5 #include "ui/display/chromeos/test/test_display_snapshot.h"
6 6
7 namespace ui { 7 namespace ui {
8 TestDisplaySnapshot::TestDisplaySnapshot() 8 TestDisplaySnapshot::TestDisplaySnapshot()
9 : DisplaySnapshot(0, 9 : DisplaySnapshot(0,
10 gfx::Point(0, 0), 10 gfx::Point(0, 0),
11 gfx::Size(0, 0), 11 gfx::Size(0, 0),
12 DISPLAY_CONNECTION_TYPE_UNKNOWN, 12 DISPLAY_CONNECTION_TYPE_UNKNOWN,
13 false, 13 false,
14 false, 14 false,
15 false,
15 std::string(), 16 std::string(),
16 base::FilePath(), 17 base::FilePath(),
17 std::vector<const DisplayMode*>(), 18 std::vector<const DisplayMode*>(),
18 std::vector<uint8_t>(), 19 std::vector<uint8_t>(),
19 NULL, 20 NULL,
20 NULL) {} 21 NULL) {}
21 22
22 TestDisplaySnapshot::TestDisplaySnapshot( 23 TestDisplaySnapshot::TestDisplaySnapshot(
23 int64_t display_id, 24 int64_t display_id,
24 const gfx::Point& origin, 25 const gfx::Point& origin,
25 const gfx::Size& physical_size, 26 const gfx::Size& physical_size,
26 DisplayConnectionType type, 27 DisplayConnectionType type,
27 bool is_aspect_preserving_scaling, 28 bool is_aspect_preserving_scaling,
28 int64_t product_id, 29 int64_t product_id,
30 bool has_color_correction_matrix,
29 const std::vector<const DisplayMode*>& modes, 31 const std::vector<const DisplayMode*>& modes,
30 const DisplayMode* current_mode, 32 const DisplayMode* current_mode,
31 const DisplayMode* native_mode) 33 const DisplayMode* native_mode)
32 : DisplaySnapshot(display_id, 34 : DisplaySnapshot(display_id,
33 origin, 35 origin,
34 physical_size, 36 physical_size,
35 type, 37 type,
36 is_aspect_preserving_scaling, 38 is_aspect_preserving_scaling,
37 false, 39 false,
40 has_color_correction_matrix,
38 std::string(), 41 std::string(),
39 base::FilePath(), 42 base::FilePath(),
40 modes, 43 modes,
41 std::vector<uint8_t>(), 44 std::vector<uint8_t>(),
42 current_mode, 45 current_mode,
43 native_mode) { 46 native_mode) {
44 product_id_ = product_id; 47 product_id_ = product_id;
45 } 48 }
46 49
47 TestDisplaySnapshot::~TestDisplaySnapshot() {} 50 TestDisplaySnapshot::~TestDisplaySnapshot() {}
48 51
49 std::string TestDisplaySnapshot::ToString() const { return ""; } 52 std::string TestDisplaySnapshot::ToString() const { return ""; }
50 53
51 } // namespace ui 54 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/test_display_snapshot.h ('k') | ui/display/chromeos/test/test_native_display_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698