Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: ui/display/chromeos/test/test_display_snapshot.cc

Issue 187073002: Refactoring display configuration state to allow generic state objects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 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
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/test_display_snapshot.h ('k') | ui/display/chromeos/x11/display_mode_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698