Index: ios/web_view/public/criwv_translate_manager.h |
diff --git a/ios/web_view/public/criwv_translate_manager.h b/ios/web_view/public/criwv_translate_manager.h |
index 8acd498d193673552025b4b8baec9b818e73b347..7f5ec46dcf4fd22f000da44e37b38fb01135c3e6 100644 |
--- a/ios/web_view/public/criwv_translate_manager.h |
+++ b/ios/web_view/public/criwv_translate_manager.h |
@@ -7,8 +7,17 @@ |
#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 |
+ |
// Interface to manage the translation flow. |
// Clients are not supposed to instantiate or subclass it. |
+CWV_EXPORT |
@protocol CRIWVTranslateManager<NSObject> |
- (void)translate; |