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

Unified Diff: ios/web_view/public/cwv_ui_delegate.h

Issue 2770633002: Export all CWV* symbols from the ios/web_view dynamic library. (Closed)
Patch Set: Add cwv_export.h to "sources" attribute of //ios/web_view:web_view. Created 3 years, 9 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: ios/web_view/public/cwv_ui_delegate.h
diff --git a/ios/web_view/public/cwv_ui_delegate.h b/ios/web_view/public/cwv_ui_delegate.h
index c4b51f6cbd85a3b676f08b2f2847b36b7b58efab..aed0756c420e17bba7582c22c1a53ccee1addf25 100644
--- a/ios/web_view/public/cwv_ui_delegate.h
+++ b/ios/web_view/public/cwv_ui_delegate.h
@@ -8,6 +8,14 @@
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIKit.h>
+// TODO(crbug.com/704946): Make framework style include work everywhere and
+// remove this #if.
+#if defined(CWV_IMPLEMENTATION)
+#include "ios/web_view/public/cwv_export.h"
+#else
+#include <ChromeWebView/cwv_export.h>
+#endif
+
@class CWVHTMLElement;
@class CWVWebView;
@class CWVWebViewConfiguration;
@@ -15,6 +23,7 @@
// UI delegate interface for a CWVWebView. Embedders can implement the
// functions in order to customize library behavior.
+CWV_EXPORT
@protocol CWVUIDelegate<NSObject>
@optional

Powered by Google App Engine
This is Rietveld 408576698