Chromium Code Reviews| Index: ui/gfx/skia_utils_mac.h |
| =================================================================== |
| --- ui/gfx/skia_utils_mac.h (revision 0) |
| +++ ui/gfx/skia_utils_mac.h (revision 0) |
| @@ -0,0 +1,20 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_GFX_SKIA_UTILS_MAC_H_ |
| +#define UI_GFX_SKIA_UTILS_MAC_H_ |
| +#pragma once |
| + |
| +#include "third_party/skia/include/core/SkColor.h" |
| + |
| +#import <Cocoa/Cocoa.h> |
| + |
| +namespace gfx { |
| + |
| +// Converts ARGB to NSColor. |
| +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.
|
| + |
| +} // namespace gfx |
| + |
| +#endif // UI_GFX_SKIA_UTILS_MAC_H_ |