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

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

Issue 2770633002: Export all CWV* symbols from the ios/web_view dynamic library. (Closed)
Patch Set: 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..829dd270d214097cb8745fb5627b112dce82be3d 100644
--- a/ios/web_view/public/cwv.h
+++ b/ios/web_view/public/cwv.h
@@ -8,11 +8,13 @@
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
+#include "cwv_export.h"
Hiroshi Ichikawa 2017/03/22 09:44:24 Can you advise me if this relative include is appr
Eugene But (OOO till 7-30) 2017/03/22 15:18:54 This relative include may not work for clients who
michaeldo 2017/03/22 23:16:22 I don't think we should have this here as-is. Mayb
Hiroshi Ichikawa 2017/03/23 05:03:02 Thanks, I tried it and it looks working. It looks
michaeldo 2017/03/23 15:12:41 I'm not sure if it will always search current dire
Hiroshi Ichikawa 2017/03/24 04:57:42 Do you mean that #include <ChromeWebView/cwv_expor
+
@protocol CWVDelegate;
@class CWVWebView;
// Main interface for the CWV library.
-__attribute__((visibility("default"))) @interface CWV : NSObject
+CWV_EXPORT @interface CWV : NSObject
Hiroshi Ichikawa 2017/03/22 09:44:24 I found that this token (or even __attribute__((vi
Eugene But (OOO till 7-30) 2017/03/22 15:18:54 I don't know about workarounds, but you can file a
Hiroshi Ichikawa 2017/03/23 05:03:02 Do you know where to file a bug? Do we use the one
michaeldo 2017/03/23 15:12:41 Just a heads up that fixing it manually isn't idea
Hiroshi Ichikawa 2017/03/24 04:57:42 I agree that fixing manually every time is annoyin
// Initializes the CWV library. This function should be called from
// |application:didFinishLaunchingWithOptions:|.

Powered by Google App Engine
This is Rietveld 408576698