Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 #ifndef UI_DISPLAY_MOJO_DISPLAY_SNAPSHOT_MOJO_CC_ | |
| 6 #define UI_DISPLAY_MOJO_DISPLAY_SNAPSHOT_MOJO_CC_ | |
| 7 | |
| 8 #include "ui/display/mojo/display_snapshot_mojo.h" | |
| 9 | |
| 10 #include "ui/display/types/display_constants.h" | |
| 11 | |
| 12 namespace display { | |
| 13 | |
| 14 DisplaySnapshotMojo::DisplaySnapshotMojo(int64_t display_id, | |
| 15 const gfx::Point& origin, | |
| 16 const gfx::Size& physical_size, | |
| 17 DisplayConnectionType type, | |
| 18 bool is_aspect_preserving_scaling, | |
| 19 bool has_overscan, | |
| 20 bool has_color_correction_matrix, | |
| 21 std::string display_name, | |
| 22 const base::FilePath& sys_path, | |
| 23 int64_t product_id, | |
| 24 DisplayModeList modes, | |
| 25 const std::vector<uint8_t>& edid, | |
| 26 const DisplayMode* current_mode, | |
| 27 bool current_mode_exist, | |
| 28 const DisplayMode* native_mode, | |
| 29 bool native_mode_exist, | |
| 30 const gfx::Size& maximum_cursor_size) | |
| 31 : DisplaySnapshot(display_id, | |
| 32 origin, | |
| 33 physical_size, | |
| 34 type, | |
| 35 is_aspect_preserving_scaling, | |
| 36 has_overscan, | |
| 37 has_color_correction_matrix, | |
| 38 display_name, | |
| 39 sys_path, | |
| 40 std::move(modes), | |
| 41 edid, | |
| 42 current_mode, | |
| 43 native_mode) { | |
| 44 product_id_ = product_id; | |
| 45 maximum_cursor_size_ = maximum_cursor_size; | |
| 46 current_mode_exist_ = current_mode_exist; | |
| 47 native_mode_exist_ = native_mode_exist; | |
| 48 } | |
| 49 | |
| 50 DisplaySnapshotMojo::~DisplaySnapshotMojo() = default; | |
| 51 | |
| 52 // TODO: | |
|
kylechar
2017/02/13 22:01:23
This should be in the following format:
TODO(name
thanhph1
2017/02/14 20:20:52
Done.
| |
| 53 std::string DisplaySnapshotMojo::ToString() const { | |
| 54 return ""; | |
| 55 } | |
| 56 | |
| 57 } // namespace display | |
| 58 | |
| 59 #endif // UI_DISPLAY_MOJO_DISPLAY_SNAPSHOT_MOJO_CC_ | |
| OLD | NEW |