OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "ui/display/chromeos/test/test_display_snapshot.h" | |
6 | |
7 namespace ui { | |
8 TestDisplaySnapshot::TestDisplaySnapshot() | |
9 : DisplaySnapshot(0, | |
10 gfx::Point(0, 0), | |
11 gfx::Size(0, 0), | |
12 DISPLAY_CONNECTION_TYPE_UNKNOWN, | |
13 false, | |
14 false, | |
15 false, | |
16 std::string(), | |
17 base::FilePath(), | |
18 std::vector<std::unique_ptr<const DisplayMode>>(), | |
19 std::vector<uint8_t>(), | |
20 NULL, | |
21 NULL) {} | |
22 | |
23 TestDisplaySnapshot::TestDisplaySnapshot( | |
24 int64_t display_id, | |
25 const gfx::Point& origin, | |
26 const gfx::Size& physical_size, | |
27 DisplayConnectionType type, | |
28 bool is_aspect_preserving_scaling, | |
29 int64_t product_id, | |
30 bool has_color_correction_matrix, | |
31 std::vector<std::unique_ptr<const DisplayMode>> modes, | |
32 const DisplayMode* current_mode, | |
33 const DisplayMode* native_mode) | |
34 : DisplaySnapshot(display_id, | |
35 origin, | |
36 physical_size, | |
37 type, | |
38 is_aspect_preserving_scaling, | |
39 false, | |
40 has_color_correction_matrix, | |
41 std::string(), | |
42 base::FilePath(), | |
43 std::move(modes), | |
44 std::vector<uint8_t>(), | |
45 current_mode, | |
46 native_mode) { | |
47 product_id_ = product_id; | |
48 } | |
49 | |
50 TestDisplaySnapshot::~TestDisplaySnapshot() {} | |
51 | |
52 std::string TestDisplaySnapshot::ToString() const { return ""; } | |
53 | |
54 } // namespace ui | |
OLD | NEW |