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

Unified Diff: ios/web_view/public/cwv.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.h
diff --git a/ios/web_view/public/cwv.h b/ios/web_view/public/cwv.h
index 503d5f786a2552d017ac1a2e67a58ee11f2c29af..b5bd89387dc0f60d8fc87a50753fc599d5c3507a 100644
--- a/ios/web_view/public/cwv.h
+++ b/ios/web_view/public/cwv.h
@@ -8,11 +8,18 @@
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
+#if defined(CWV_IMPLEMENTATION)
+#include "ios/web_view/public/cwv_export.h"
+#else
+#include <ChromeWebView/cwv_export.h>
+#endif
+
@protocol CWVDelegate;
@class CWVWebView;
// Main interface for the CWV library.
-__attribute__((visibility("default"))) @interface CWV : NSObject
+CWV_EXPORT
+@interface CWV : NSObject
// Initializes the CWV library. This function should be called from
// |application:didFinishLaunchingWithOptions:|.

Powered by Google App Engine
This is Rietveld 408576698