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