Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / ui / base / cocoa / nscolor_additions.h
blobeaeb63a683fd3b74a600a8fdd3e3cbf0fc7843a5
1 // Copyright 2015 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.
5 #ifndef UI_BASE_COCOA_NSCOLOR_ADDITIONS_H_
6 #define UI_BASE_COCOA_NSCOLOR_ADDITIONS_H_
8 #import <Cocoa/Cocoa.h>
10 @interface NSColor (ChromeAdditions)
12 // Returns an autoreleased CGColor, just like -[NSColor CGColor] in 10.8 SDK.
13 - (CGColorRef)cr_CGColor;
15 @end
17 #endif // UI_BASE_COCOA_NSCOLOR_ADDITIONS_H_