Title: [179193] trunk/Source/WebKit/mac
- Revision
- 179193
- Author
- [email protected]
- Date
- 2015-01-27 10:44:46 -0800 (Tue, 27 Jan 2015)
Log Message
Fixed building projects that import WebView.h with WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS.
Rubber-stamped by Anders Carlsson.
* WebView/WebView.h: Added forward declarations of the protocols.
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (179192 => 179193)
--- trunk/Source/WebKit/mac/ChangeLog 2015-01-27 18:29:29 UTC (rev 179192)
+++ trunk/Source/WebKit/mac/ChangeLog 2015-01-27 18:44:46 UTC (rev 179193)
@@ -1,3 +1,11 @@
+2015-01-27 Dan Bernstein <[email protected]>
+
+ Fixed building projects that import WebView.h with WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS.
+
+ Rubber-stamped by Anders Carlsson.
+
+ * WebView/WebView.h: Added forward declarations of the protocols.
+
2015-01-26 Anders Carlsson <[email protected]>
Make it easy to test enabling formal delegate protocols
Modified: trunk/Source/WebKit/mac/WebView/WebView.h (179192 => 179193)
--- trunk/Source/WebKit/mac/WebView/WebView.h 2015-01-27 18:29:29 UTC (rev 179192)
+++ trunk/Source/WebKit/mac/WebView/WebView.h 2015-01-27 18:44:46 UTC (rev 179193)
@@ -54,6 +54,14 @@
@class WebScriptObject;
@class WebViewPrivate;
+#ifdef WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS
+@protocol WebDownloadDelegate;
+@protocol WebFrameLoadDelegate;
+@protocol WebPolicyDelegate;
+@protocol WebResourceLoadDelegate;
+@protocol WebUIDelegate;
+#endif
+
// Element dictionary keys
extern NSString *WebElementDOMNodeKey; // DOMNode of the element
extern NSString *WebElementFrameKey; // WebFrame of the element
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes