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

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

Issue 667753002: Treat displays with and without EDID the same way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/display/chromeos/test/test_display_snapshot.h" 5 #include "ui/display/chromeos/test/test_display_snapshot.h"
6 6
7 namespace ui { 7 namespace ui {
8 TestDisplaySnapshot::TestDisplaySnapshot() 8 TestDisplaySnapshot::TestDisplaySnapshot()
9 : DisplaySnapshot(0, 9 : DisplaySnapshot(0,
10 false,
11 gfx::Point(0, 0), 10 gfx::Point(0, 0),
12 gfx::Size(0, 0), 11 gfx::Size(0, 0),
13 DISPLAY_CONNECTION_TYPE_UNKNOWN, 12 DISPLAY_CONNECTION_TYPE_UNKNOWN,
14 false, 13 false,
15 false, 14 false,
16 std::string(), 15 std::string(),
17 std::vector<const DisplayMode*>(), 16 std::vector<const DisplayMode*>(),
18 NULL, 17 NULL,
19 NULL) {} 18 NULL) {}
20 19
21 TestDisplaySnapshot::TestDisplaySnapshot( 20 TestDisplaySnapshot::TestDisplaySnapshot(
22 int64_t display_id, 21 int64_t display_id,
23 bool has_proper_display_id,
24 const gfx::Point& origin, 22 const gfx::Point& origin,
25 const gfx::Size& physical_size, 23 const gfx::Size& physical_size,
26 DisplayConnectionType type, 24 DisplayConnectionType type,
27 bool is_aspect_preserving_scaling, 25 bool is_aspect_preserving_scaling,
28 const std::vector<const DisplayMode*>& modes, 26 const std::vector<const DisplayMode*>& modes,
29 const DisplayMode* current_mode, 27 const DisplayMode* current_mode,
30 const DisplayMode* native_mode) 28 const DisplayMode* native_mode)
31 : DisplaySnapshot(display_id, 29 : DisplaySnapshot(display_id,
32 has_proper_display_id,
33 origin, 30 origin,
34 physical_size, 31 physical_size,
35 type, 32 type,
36 is_aspect_preserving_scaling, 33 is_aspect_preserving_scaling,
37 false, 34 false,
38 std::string(), 35 std::string(),
39 modes, 36 modes,
40 current_mode, 37 current_mode,
41 native_mode) {} 38 native_mode) {}
42 39
43 TestDisplaySnapshot::~TestDisplaySnapshot() {} 40 TestDisplaySnapshot::~TestDisplaySnapshot() {}
44 41
45 std::string TestDisplaySnapshot::ToString() const { return ""; } 42 std::string TestDisplaySnapshot::ToString() const { return ""; }
46 43
47 } // namespace ui 44 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/test_display_snapshot.h ('k') | ui/display/chromeos/x11/display_snapshot_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698