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

Side by Side Diff: third_party/WebKit/Source/core/css/MediaValuesCached.cpp

Issue 2884313002: color: Rename blink::ColorSpace to blink::InterpolationSpace (Closed)
Patch Set: Incorporate review feedback Created 3 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
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 "core/css/MediaValuesCached.h" 5 #include "core/css/MediaValuesCached.h"
6 6
7 #include "core/css/CSSPrimitiveValue.h" 7 #include "core/css/CSSPrimitiveValue.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/frame/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
10 #include "core/layout/LayoutObject.h" 10 #include "core/layout/LayoutObject.h"
11 #include "core/layout/api/LayoutViewItem.h" 11 #include "core/layout/api/LayoutViewItem.h"
12 #include "platform/graphics/ColorSpace.h" 12 #include "platform/graphics/ColorSpaceGamut.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData() 16 MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData()
17 : viewport_width(0), 17 : viewport_width(0),
18 viewport_height(0), 18 viewport_height(0),
19 device_width(0), 19 device_width(0),
20 device_height(0), 20 device_height(0),
21 device_pixel_ratio(1.0), 21 device_pixel_ratio(1.0),
22 color_bits_per_component(24), 22 color_bits_per_component(24),
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 DisplayShape MediaValuesCached::GetDisplayShape() const { 182 DisplayShape MediaValuesCached::GetDisplayShape() const {
183 return data_.display_shape; 183 return data_.display_shape;
184 } 184 }
185 185
186 ColorSpaceGamut MediaValuesCached::ColorGamut() const { 186 ColorSpaceGamut MediaValuesCached::ColorGamut() const {
187 return data_.color_gamut; 187 return data_.color_gamut;
188 } 188 }
189 189
190 } // namespace blink 190 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaValues.cpp ('k') | third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698