Correctly track texture cleared state for sharing
[chromium-blink-merge.git] / ui / display / chromeos / test / test_display_snapshot.cc
blob227e6f4c9fe3e31083b33935e830d64570f0c997
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 gfx::Point(0, 0),
11 gfx::Size(0, 0),
12 DISPLAY_CONNECTION_TYPE_UNKNOWN,
13 false,
14 false,
15 std::string(),
16 std::vector<const DisplayMode*>(),
17 NULL,
18 NULL) {}
20 TestDisplaySnapshot::TestDisplaySnapshot(
21 int64_t display_id,
22 const gfx::Point& origin,
23 const gfx::Size& physical_size,
24 DisplayConnectionType 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 origin,
31 physical_size,
32 type,
33 is_aspect_preserving_scaling,
34 false,
35 std::string(),
36 modes,
37 current_mode,
38 native_mode) {}
40 TestDisplaySnapshot::~TestDisplaySnapshot() {}
42 std::string TestDisplaySnapshot::ToString() const { return ""; }
44 } // namespace ui