Index: ios/web_view/public/cwv_translate_delegate.h |
diff --git a/ios/web_view/public/cwv_translate_delegate.h b/ios/web_view/public/cwv_translate_delegate.h |
index ff3576cef579c8ff5b570a9945e6a7f615068824..fc846f2caaafe8c3302372c1d18b9ea544fd9844 100644 |
--- a/ios/web_view/public/cwv_translate_delegate.h |
+++ b/ios/web_view/public/cwv_translate_delegate.h |
@@ -7,6 +7,14 @@ |
#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 CRIWVTranslateManager; |
typedef NS_ENUM(NSInteger, CRIWVTransateStep) { |
@@ -18,6 +26,7 @@ typedef NS_ENUM(NSInteger, CRIWVTransateStep) { |
// Delegate interface for the CRIWVTranslate. Embedders can implement the |
// functions in order to customize the behavior. |
+CWV_EXPORT |
@protocol CWVTranslateDelegate |
- (void)translateStepChanged:(CRIWVTransateStep)step |