Index: ios/web_view/public/cwv_navigation_delegate.h |
diff --git a/ios/web_view/public/cwv_navigation_delegate.h b/ios/web_view/public/cwv_navigation_delegate.h |
index 098e9daa475cf82de85695ea78b86b71d5461f23..d661108ba4b78bedc7b202e3067bcf14c16ef79e 100644 |
--- a/ios/web_view/public/cwv_navigation_delegate.h |
+++ b/ios/web_view/public/cwv_navigation_delegate.h |
@@ -7,11 +7,20 @@ |
#import <Foundation/Foundation.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 |
+ |
@protocol CRIWVTranslateDelegate; |
@class CWVWebView; |
// Navigation delegate protocol for CWVWebViews. Allows embedders to hook |
// page loading and receive events for navigation. |
+CWV_EXPORT |
@protocol CWVNavigationDelegate<NSObject> |
@optional |