OLD | NEW |
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 NULL, | 19 NULL, |
19 NULL) {} | 20 NULL) {} |
20 | 21 |
21 TestDisplaySnapshot::TestDisplaySnapshot( | 22 TestDisplaySnapshot::TestDisplaySnapshot( |
22 int64_t display_id, | 23 int64_t display_id, |
23 const gfx::Point& origin, | 24 const gfx::Point& origin, |
24 const gfx::Size& physical_size, | 25 const gfx::Size& physical_size, |
25 DisplayConnectionType type, | 26 DisplayConnectionType type, |
26 bool is_aspect_preserving_scaling, | 27 bool is_aspect_preserving_scaling, |
27 int64_t product_id, | 28 int64_t product_id, |
| 29 bool has_color_correction_matrix, |
28 const std::vector<const DisplayMode*>& modes, | 30 const std::vector<const DisplayMode*>& modes, |
29 const DisplayMode* current_mode, | 31 const DisplayMode* current_mode, |
30 const DisplayMode* native_mode) | 32 const DisplayMode* native_mode) |
31 : DisplaySnapshot(display_id, | 33 : DisplaySnapshot(display_id, |
32 origin, | 34 origin, |
33 physical_size, | 35 physical_size, |
34 type, | 36 type, |
35 is_aspect_preserving_scaling, | 37 is_aspect_preserving_scaling, |
36 false, | 38 false, |
| 39 has_color_correction_matrix, |
37 std::string(), | 40 std::string(), |
38 base::FilePath(), | 41 base::FilePath(), |
39 modes, | 42 modes, |
40 current_mode, | 43 current_mode, |
41 native_mode) { | 44 native_mode) { |
42 product_id_ = product_id; | 45 product_id_ = product_id; |
43 } | 46 } |
44 | 47 |
45 TestDisplaySnapshot::~TestDisplaySnapshot() {} | 48 TestDisplaySnapshot::~TestDisplaySnapshot() {} |
46 | 49 |
47 std::string TestDisplaySnapshot::ToString() const { return ""; } | 50 std::string TestDisplaySnapshot::ToString() const { return ""; } |
48 | 51 |
49 } // namespace ui | 52 } // namespace ui |
OLD | NEW |