OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/gfx/test/icc_profiles.h" | 5 #include "ui/gfx/test/icc_profiles.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 | 8 |
9 namespace { | 9 namespace { |
10 | 10 |
(...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1928 reinterpret_cast<const char*>(a2b_only_profile_data), | 1928 reinterpret_cast<const char*>(a2b_only_profile_data), |
1929 arraysize(a2b_only_profile_data), ICCProfile::test_id_a2b_only_); | 1929 arraysize(a2b_only_profile_data), ICCProfile::test_id_a2b_only_); |
1930 } | 1930 } |
1931 | 1931 |
1932 ICCProfile ICCProfileForTestingOvershoot() { | 1932 ICCProfile ICCProfileForTestingOvershoot() { |
1933 return ICCProfile::FromDataWithId( | 1933 return ICCProfile::FromDataWithId( |
1934 reinterpret_cast<const char*>(overshoot_profile_data), | 1934 reinterpret_cast<const char*>(overshoot_profile_data), |
1935 arraysize(overshoot_profile_data), ICCProfile::test_id_overshoot_); | 1935 arraysize(overshoot_profile_data), ICCProfile::test_id_overshoot_); |
1936 } | 1936 } |
1937 | 1937 |
| 1938 ICCProfile ICCProfileForLayoutTests() { |
| 1939 return ICCProfile::GetForcedProfile(); |
| 1940 } |
| 1941 |
1938 } // namespace gfx | 1942 } // namespace gfx |
OLD | NEW |