| Index: ui/gfx/path_mac.h
|
| diff --git a/ui/gfx/path_mac.h b/ui/gfx/path_mac.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f20fa62d7c2bca08899053f28a311b04d77dfb6d
|
| --- /dev/null
|
| +++ b/ui/gfx/path_mac.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2016 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_PATH_MAC_H_
|
| +#define UI_GFX_PATH_MAC_H_
|
| +
|
| +#include "ui/gfx/gfx_export.h"
|
| +
|
| +@class NSBezierPath;
|
| +class SkPath;
|
| +
|
| +namespace gfx {
|
| +
|
| +// Returns an autoreleased NSBezierPath corresponding to |path|. Caller should
|
| +// call retain on the returned object, if it wishes to take ownership.
|
| +GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path);
|
| +
|
| +} // namespace gfx
|
| +
|
| +#endif // UI_GFX_PATH_MAC_H_
|
|
|