90211f8d0095c5d4a67abc06e47dd9ea4e26922d
[platform/framework/web/crosswalk.git] / src / ui / display / chromeos / test / test_display_snapshot.cc
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                       false,
11                       gfx::Point(0, 0),
12                       gfx::Size(0, 0),
13                       OUTPUT_TYPE_UNKNOWN,
14                       false,
15                       std::vector<const DisplayMode*>(),
16                       NULL,
17                       NULL) {}
18
19 TestDisplaySnapshot::TestDisplaySnapshot(
20     int64_t display_id,
21     bool has_proper_display_id,
22     const gfx::Point& origin,
23     const gfx::Size& physical_size,
24     OutputType type,
25     bool is_aspect_preserving_scaling,
26     const std::vector<const DisplayMode*>& modes,
27     const DisplayMode* current_mode,
28     const DisplayMode* native_mode)
29     : DisplaySnapshot(display_id,
30                       has_proper_display_id,
31                       origin,
32                       physical_size,
33                       type,
34                       is_aspect_preserving_scaling,
35                       modes,
36                       current_mode,
37                       native_mode) {}
38
39 TestDisplaySnapshot::~TestDisplaySnapshot() {}
40
41 std::string TestDisplaySnapshot::GetDisplayName() { return ""; }
42
43 bool TestDisplaySnapshot::GetOverscanFlag() { return false; }
44
45 std::string TestDisplaySnapshot::ToString() const { return ""; }
46
47 }  // namespace ui