Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_PATH_MAC_H_ | |
| 6 #define UI_GFX_PATH_MAC_H_ | |
| 7 | |
| 8 #include "ui/gfx/gfx_export.h" | |
| 9 | |
| 10 #if defined(__OBJC__) | |
| 11 @class NSBezierPath; | |
|
tapted
2016/02/11 01:47:23
I think only this is needed for now (no #if __OBJC
karandeepb
2016/02/11 04:16:04
Done.
| |
| 12 #else // __OBJC__ | |
| 13 class NSBezierPath; | |
| 14 #endif // __OBJC__ | |
| 15 | |
| 16 class SkPath; | |
| 17 class SkRegion; | |
|
tapted
2016/02/11 01:47:23
nit: remove
karandeepb
2016/02/11 04:16:04
Done.
| |
| 18 | |
| 19 namespace gfx { | |
| 20 | |
| 21 // Returns the NSBezierPath corresponding to |path|. | |
| 22 GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path); | |
| 23 | |
| 24 } // namespace gfx | |
| 25 | |
| 26 #endif // UI_GFX_PATH_MAC_H_ | |
| OLD | NEW |