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

Unified 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. Removed native_widget_mac files. 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 side-by-side diff with in-line comments
Download patch
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..1d345213029c26b4c7a402d6abc1cf0823ad7743
--- /dev/null
+++ b/ui/gfx/path_mac.h
@@ -0,0 +1,26 @@
+// 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"
+
+#if defined(__OBJC__)
+@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.
+#else // __OBJC__
+class NSBezierPath;
+#endif // __OBJC__
+
+class SkPath;
+class SkRegion;
tapted 2016/02/11 01:47:23 nit: remove
karandeepb 2016/02/11 04:16:04 Done.
+
+namespace gfx {
+
+// Returns the NSBezierPath corresponding to |path|.
+GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path);
+
+} // namespace gfx
+
+#endif // UI_GFX_PATH_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698