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

Side by Side Diff: ui/display/types/display_snapshot.cc

Issue 1129863003: Load ICC file for display color correction based on display product identifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nuked extra {} Created 5 years, 7 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
« no previous file with comments | « ui/display/types/display_snapshot.h ('k') | ui/display/util/edid_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/types/display_snapshot.h" 5 #include "ui/display/types/display_snapshot.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 DisplaySnapshot::DisplaySnapshot(int64_t display_id, 9 DisplaySnapshot::DisplaySnapshot(int64_t display_id,
10 const gfx::Point& origin, 10 const gfx::Point& origin,
11 const gfx::Size& physical_size, 11 const gfx::Size& physical_size,
12 DisplayConnectionType type, 12 DisplayConnectionType type,
13 bool is_aspect_preserving_scaling, 13 bool is_aspect_preserving_scaling,
14 bool has_overscan, 14 bool has_overscan,
15 std::string display_name, 15 std::string display_name,
16 const std::vector<const DisplayMode*>& modes, 16 const std::vector<const DisplayMode*>& modes,
17 const DisplayMode* current_mode, 17 const DisplayMode* current_mode,
18 const DisplayMode* native_mode) 18 const DisplayMode* native_mode)
19 : display_id_(display_id), 19 : display_id_(display_id),
20 origin_(origin), 20 origin_(origin),
21 physical_size_(physical_size), 21 physical_size_(physical_size),
22 type_(type), 22 type_(type),
23 is_aspect_preserving_scaling_(is_aspect_preserving_scaling), 23 is_aspect_preserving_scaling_(is_aspect_preserving_scaling),
24 has_overscan_(has_overscan), 24 has_overscan_(has_overscan),
25 display_name_(display_name), 25 display_name_(display_name),
26 modes_(modes), 26 modes_(modes),
27 current_mode_(current_mode), 27 current_mode_(current_mode),
28 native_mode_(native_mode) {} 28 native_mode_(native_mode),
29 product_id_(kInvalidProductID) {
30 }
29 31
30 DisplaySnapshot::~DisplaySnapshot() {} 32 DisplaySnapshot::~DisplaySnapshot() {}
31 33
32 } // namespace ui 34 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/types/display_snapshot.h ('k') | ui/display/util/edid_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698