Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / display / types / display_snapshot.cc
blobf19961dd202cc8d021c4b92fece0d7a55dcdab18
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/types/display_snapshot.h"
7 namespace ui {
9 DisplaySnapshot::DisplaySnapshot(int64_t display_id,
10 const gfx::Point& origin,
11 const gfx::Size& physical_size,
12 DisplayConnectionType type,
13 bool is_aspect_preserving_scaling,
14 bool has_overscan,
15 std::string display_name,
16 const std::vector<const DisplayMode*>& modes,
17 const DisplayMode* current_mode,
18 const DisplayMode* native_mode)
19 : display_id_(display_id),
20 origin_(origin),
21 physical_size_(physical_size),
22 type_(type),
23 is_aspect_preserving_scaling_(is_aspect_preserving_scaling),
24 has_overscan_(has_overscan),
25 display_name_(display_name),
26 modes_(modes),
27 current_mode_(current_mode),
28 native_mode_(native_mode),
29 product_id_(kInvalidProductID) {
32 DisplaySnapshot::~DisplaySnapshot() {}
34 } // namespace ui