Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: ui/gfx/path_mac.h

Issue 1633403002: MacViews: Add native drop shadow to dialogs on OSX < 10.10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Implemented quad to cubic bezier conversion. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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;
12 #else // __OBJC__
13 class NSBezierPath;
14 #endif // __OBJC__
15
16 class SkPath;
17 class SkRegion;
18
19 namespace gfx {
20
21 // Returns the NSBezierPath corresponding to |region|.
22 GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkRegion(const SkRegion& region);
tapted 2016/02/10 02:28:01 remove this until it's needed? Probably worthwhile
karandeepb 2016/02/11 00:30:09 Done.
23
24 // Returns the NSBezierPath corresponding to |path|.
25 GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path);
26
27 } // namespace gfx
28
29 #endif // UI_GFX_PATH_MAC_H_
OLDNEW
« no previous file with comments | « ui/gfx/gfx_tests.gyp ('k') | ui/gfx/path_mac.mm » ('j') | ui/gfx/path_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698