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

Unified Diff: ios/web_view/public/cwv_translate_delegate.h

Issue 2770633002: Export all CWV* symbols from the ios/web_view dynamic library. (Closed)
Patch Set: Apply review comments. 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_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..12ac7865178d87fe47ecf23a9a8b7a93d6e46ec7 100644
--- a/ios/web_view/public/cwv_translate_delegate.h
+++ b/ios/web_view/public/cwv_translate_delegate.h
@@ -7,6 +7,12 @@
#import <Foundation/Foundation.h>
+#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 +24,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

Powered by Google App Engine
This is Rietveld 408576698