Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_SKIA_UTILS_MAC_H_ | |
| 6 #define UI_GFX_SKIA_UTILS_MAC_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "third_party/skia/include/core/SkColor.h" | |
| 10 | |
| 11 #import <Cocoa/Cocoa.h> | |
| 12 | |
| 13 namespace gfx { | |
| 14 | |
| 15 // Converts ARGB to NSColor. | |
| 16 NSColor* SkColorToNSColor(SkColor color); | |
|
Nico
2011/06/07 06:09:33
Why not put this in skia/ext/skia_utils_mac.h?
sail
2011/06/07 06:20:45
Done.
Good idea.
| |
| 17 | |
| 18 } // namespace gfx | |
| 19 | |
| 20 #endif // UI_GFX_SKIA_UTILS_MAC_H_ | |
| OLD | NEW |