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

Unified Diff: ios/web_view/public/cwv_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_delegate.h
diff --git a/ios/web_view/public/cwv_delegate.h b/ios/web_view/public/cwv_delegate.h
index 8000a2eb5b1971c92979581910ac7567c8f0548e..542f87fc549981b5d10c3b5e22d551488129230d 100644
--- a/ios/web_view/public/cwv_delegate.h
+++ b/ios/web_view/public/cwv_delegate.h
@@ -4,10 +4,19 @@
#ifndef IOS_WEB_VIEW_PUBLIC_CWV_DELEGATE_H_
#define IOS_WEB_VIEW_PUBLIC_CWV_DELEGATE_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 NSString;
// Delegate interface for the CWV library. Embedders can implement the
// functions in order to customize library behavior.
+CWV_EXPORT
@protocol CWVDelegate
// Returns a partial user agent of the form "ProductName/Version".

Powered by Google App Engine
This is Rietveld 408576698