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 std::string(), | 15 std::string(), |
16 base::FilePath(), | 16 base::FilePath(), |
17 std::vector<const DisplayMode*>(), | 17 std::vector<const DisplayMode*>(), |
| 18 std::vector<uint8_t>(), |
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, |
28 const std::vector<const DisplayMode*>& modes, | 29 const std::vector<const DisplayMode*>& modes, |
29 const DisplayMode* current_mode, | 30 const DisplayMode* current_mode, |
30 const DisplayMode* native_mode) | 31 const DisplayMode* native_mode) |
31 : DisplaySnapshot(display_id, | 32 : DisplaySnapshot(display_id, |
32 origin, | 33 origin, |
33 physical_size, | 34 physical_size, |
34 type, | 35 type, |
35 is_aspect_preserving_scaling, | 36 is_aspect_preserving_scaling, |
36 false, | 37 false, |
37 std::string(), | 38 std::string(), |
38 base::FilePath(), | 39 base::FilePath(), |
39 modes, | 40 modes, |
| 41 std::vector<uint8_t>(), |
40 current_mode, | 42 current_mode, |
41 native_mode) { | 43 native_mode) { |
42 product_id_ = product_id; | 44 product_id_ = product_id; |
43 } | 45 } |
44 | 46 |
45 TestDisplaySnapshot::~TestDisplaySnapshot() {} | 47 TestDisplaySnapshot::~TestDisplaySnapshot() {} |
46 | 48 |
47 std::string TestDisplaySnapshot::ToString() const { return ""; } | 49 std::string TestDisplaySnapshot::ToString() const { return ""; } |
48 | 50 |
49 } // namespace ui | 51 } // namespace ui |
OLD | NEW |