| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 5 |
| 6 #ifndef BASE_GFX_SKIA_UTILS_MAC_H__ | 6 #ifndef BASE_GFX_SKIA_UTILS_MAC_H__ |
| 7 #define BASE_GFX_SKIA_UTILS_MAC_H__ | 7 #define BASE_GFX_SKIA_UTILS_MAC_H__ |
| 8 | 8 |
| 9 #include "SkColor.h" | 9 #include "SkColor.h" |
| 10 #include <CoreGraphics/CGColor.h> | 10 #include <CoreGraphics/CGColor.h> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // Converts CGColorRef to the ARGB layout Skia expects. | 42 // Converts CGColorRef to the ARGB layout Skia expects. |
| 43 SkColor CGColorRefToSkColor(CGColorRef color); | 43 SkColor CGColorRefToSkColor(CGColorRef color); |
| 44 | 44 |
| 45 // Converts ARGB to CGColorRef. | 45 // Converts ARGB to CGColorRef. |
| 46 CGColorRef SkColorToCGColorRef(SkColor color); | 46 CGColorRef SkColorToCGColorRef(SkColor color); |
| 47 | 47 |
| 48 } // namespace gfx | 48 } // namespace gfx |
| 49 | 49 |
| 50 #endif | 50 #endif |
| 51 | 51 |
| OLD | NEW |