Index: ios/web_view/public/cwv_web_view.h |
diff --git a/ios/web_view/public/cwv_web_view.h b/ios/web_view/public/cwv_web_view.h |
index f5d7b4cb15c9ee8fd3e6c094fe62d2fd0acbbf12..86de8f52c87bbe10faf941d4d1f072f25e2db55a 100644 |
--- a/ios/web_view/public/cwv_web_view.h |
+++ b/ios/web_view/public/cwv_web_view.h |
@@ -6,6 +6,14 @@ |
#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 CWVWebViewConfiguration; |
@protocol CWVUIDelegate; |
@protocol CWVTranslateDelegate; |
@@ -18,6 +26,7 @@ |
// Customizable Context Menus, and maybe more. |
// |
// Concrete instances can be created through CWV. |
+CWV_EXPORT |
@interface CWVWebView : UIView |
// The configuration of the web view. |