OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_GFX_COLOR_SPACE_H_ | 5 #ifndef UI_GFX_COLOR_SPACE_H_ |
6 #define UI_GFX_COLOR_SPACE_H_ | 6 #define UI_GFX_COLOR_SPACE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 174 |
175 // Only used if primaries_ == PrimaryID::CUSTOM | 175 // Only used if primaries_ == PrimaryID::CUSTOM |
176 float custom_primary_matrix_[12]; | 176 float custom_primary_matrix_[12]; |
177 | 177 |
178 // This is used to look up the ICCProfile from which this ColorSpace was | 178 // This is used to look up the ICCProfile from which this ColorSpace was |
179 // created, if possible. | 179 // created, if possible. |
180 uint64_t icc_profile_id_ = 0; | 180 uint64_t icc_profile_id_ = 0; |
181 | 181 |
182 friend class ICCProfile; | 182 friend class ICCProfile; |
183 friend class ColorSpaceToColorSpaceTransform; | 183 friend class ColorSpaceToColorSpaceTransform; |
| 184 friend class ColorSpaceWin; |
184 friend struct IPC::ParamTraits<gfx::ColorSpace>; | 185 friend struct IPC::ParamTraits<gfx::ColorSpace>; |
185 FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace); | 186 FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace); |
186 }; | 187 }; |
187 | 188 |
188 } // namespace gfx | 189 } // namespace gfx |
189 | 190 |
190 #endif // UI_GFX_COLOR_SPACE_H_ | 191 #endif // UI_GFX_COLOR_SPACE_H_ |
OLD | NEW |