| OLD | NEW |
| (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/display_snapshot.h" | |
| 6 | |
| 7 namespace ui { | |
| 8 | |
| 9 DisplaySnapshot::DisplaySnapshot(int64_t display_id, | |
| 10 bool has_proper_display_id, | |
| 11 const gfx::Point& origin, | |
| 12 const gfx::Size& physical_size, | |
| 13 DisplayConnectionType type, | |
| 14 bool is_aspect_preserving_scaling, | |
| 15 bool has_overscan, | |
| 16 std::string display_name, | |
| 17 const std::vector<const DisplayMode*>& modes, | |
| 18 const DisplayMode* current_mode, | |
| 19 const DisplayMode* native_mode) | |
| 20 : display_id_(display_id), | |
| 21 has_proper_display_id_(has_proper_display_id), | |
| 22 origin_(origin), | |
| 23 physical_size_(physical_size), | |
| 24 type_(type), | |
| 25 is_aspect_preserving_scaling_(is_aspect_preserving_scaling), | |
| 26 has_overscan_(has_overscan), | |
| 27 display_name_(display_name), | |
| 28 modes_(modes), | |
| 29 current_mode_(current_mode), | |
| 30 native_mode_(native_mode) {} | |
| 31 | |
| 32 DisplaySnapshot::~DisplaySnapshot() {} | |
| 33 | |
| 34 } // namespace ui | |
| OLD | NEW |