mojo: Fix map of booleans for python bindings.
[chromium-blink-merge.git] / ui / display / chromeos / test / test_display_snapshot.cc
blobb7eba9add57155d8fd81439dbd7d57ee7577cab4
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.
5 #include "ui/display/chromeos/test/test_display_snapshot.h"
7 namespace ui {
8 TestDisplaySnapshot::TestDisplaySnapshot()
9 : DisplaySnapshot(0,
10 false,
11 gfx::Point(0, 0),
12 gfx::Size(0, 0),
13 DISPLAY_CONNECTION_TYPE_UNKNOWN,
14 false,
15 false,
16 std::string(),
17 std::vector<const DisplayMode*>(),
18 NULL,
19 NULL) {}
21 TestDisplaySnapshot::TestDisplaySnapshot(
22 int64_t display_id,
23 bool has_proper_display_id,
24 const gfx::Point& origin,
25 const gfx::Size& physical_size,
26 DisplayConnectionType type,
27 bool is_aspect_preserving_scaling,
28 const std::vector<const DisplayMode*>& modes,
29 const DisplayMode* current_mode,
30 const DisplayMode* native_mode)
31 : DisplaySnapshot(display_id,
32 has_proper_display_id,
33 origin,
34 physical_size,
35 type,
36 is_aspect_preserving_scaling,
37 false,
38 std::string(),
39 modes,
40 current_mode,
41 native_mode) {}
43 TestDisplaySnapshot::~TestDisplaySnapshot() {}
45 std::string TestDisplaySnapshot::ToString() const { return ""; }
47 } // namespace ui