Title: [199692] trunk/Source
Revision
199692
Author
[email protected]
Date
2016-04-18 15:29:48 -0700 (Mon, 18 Apr 2016)

Log Message

Fix build with newer versions of clang.
rdar://problem/25749769

Source/WebCore:

Forward declare performClose:.

* platform/mac/WebCoreFullScreenWindow.mm:

Source/WebKit/mac:

* WebCoreSupport/WebContextMenuClient.mm:
* WebView/WebHTMLView.mm:
Forward declare some AppKit IPI.

Source/WebKit2:

* UIProcess/Cocoa/WebViewImpl.mm:
* UIProcess/mac/WebPageProxyMac.mm:
Forward declare some AppKit IPI.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (199691 => 199692)


--- trunk/Source/WebCore/ChangeLog	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebCore/ChangeLog	2016-04-18 22:29:48 UTC (rev 199692)
@@ -1,3 +1,12 @@
+2016-04-18  Anders Carlsson  <[email protected]>
+
+        Fix build with newer versions of clang.
+        rdar://problem/25749769
+
+        Forward declare performClose:.
+
+        * platform/mac/WebCoreFullScreenWindow.mm:
+
 2016-04-18  Tina Liu  <[email protected]>
 
         Declare a virtual function in PluginStrategy to be implemented by subclasses.

Modified: trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm (199691 => 199692)


--- trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm	2016-04-18 22:29:48 UTC (rev 199692)
@@ -29,6 +29,13 @@
 
 #import "WebCoreFullScreenWindow.h"
 
+// FIXME: This isn't really an NSWindowController method - it's a method that
+// the NSWindowController subclass that's using WebCoreFullScreenWindow needs to implement.
+// It should probably be a protocol method.
+@interface NSWindowController ()
+- (void)performClose:(id)sender;
+@end
+
 @implementation WebCoreFullScreenWindow
 
 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag

Modified: trunk/Source/WebKit/mac/ChangeLog (199691 => 199692)


--- trunk/Source/WebKit/mac/ChangeLog	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebKit/mac/ChangeLog	2016-04-18 22:29:48 UTC (rev 199692)
@@ -1,3 +1,12 @@
+2016-04-18  Anders Carlsson  <[email protected]>
+
+        Fix build with newer versions of clang.
+        rdar://problem/25749769
+
+        * WebCoreSupport/WebContextMenuClient.mm:
+        * WebView/WebHTMLView.mm:
+        Forward declare some AppKit IPI.
+
 2016-04-18  Tina Liu  <[email protected]>
 
         Overrode a virtual function of WebCore::PluginStrategy

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm (199691 => 199692)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm	2016-04-18 22:29:48 UTC (rev 199692)
@@ -63,8 +63,10 @@
 
 using namespace WebCore;
 
-@interface NSApplication (AppKitSecretsIKnowAbout)
+@interface NSApplication ()
+- (BOOL)isSpeaking;
 - (void)speakString:(NSString *)string;
+- (void)stopSpeaking:(id)sender;
 @end
 
 WebContextMenuClient::WebContextMenuClient(WebView *webView)

Modified: trunk/Source/WebKit/mac/WebView/WebHTMLView.mm (199691 => 199692)


--- trunk/Source/WebKit/mac/WebView/WebHTMLView.mm	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebKit/mac/WebView/WebHTMLView.mm	2016-04-18 22:29:48 UTC (rev 199692)
@@ -627,6 +627,12 @@
 
 // if YES, do the "top WebHTMLView" hit test (which we'd like to do all the time but can't because of Java requirements [see bug 4349721])
 static BOOL forceWebHTMLViewHitTest;
+
+@interface NSApplication ()
+- (BOOL)isSpeaking;
+- (void)stopSpeaking:(id)sender;
+@end
+
 #endif // !PLATFORM(IOS)
 
 static WebHTMLView *lastHitView;

Modified: trunk/Source/WebKit2/ChangeLog (199691 => 199692)


--- trunk/Source/WebKit2/ChangeLog	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebKit2/ChangeLog	2016-04-18 22:29:48 UTC (rev 199692)
@@ -1,3 +1,12 @@
+2016-04-18  Anders Carlsson  <[email protected]>
+
+        Fix build with newer versions of clang.
+        rdar://problem/25749769
+
+        * UIProcess/Cocoa/WebViewImpl.mm:
+        * UIProcess/mac/WebPageProxyMac.mm:
+        Forward declare some AppKit IPI.
+
 2016-04-18  Tina Liu  <[email protected]>
 
         Implement functions to set plug-in load policies for private browsing mode

Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm (199691 => 199692)


--- trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm	2016-04-18 22:29:48 UTC (rev 199692)
@@ -93,6 +93,12 @@
 
 SOFT_LINK_CONSTANT_MAY_FAIL(Lookup, LUNotificationPopoverWillClose, NSString *)
 
+@interface NSApplication ()
+- (BOOL)isSpeaking;
+- (void)speakString:(NSString *)string;
+- (void)stopSpeaking:(id)sender;
+@end
+
 // FIXME: Move to an SPI header.
 @interface NSTextInputContext (WKNSTextInputContextDetails)
 - (void)handleEvent:(NSEvent *)event completionHandler:(void(^)(BOOL handled))completionHandler;
@@ -112,6 +118,7 @@
 - (void)startObservingLookupDismissal;
 @end
 
+
 @implementation WKWindowVisibilityObserver
 
 - (instancetype)initWithView:(NSView *)view impl:(WebKit::WebViewImpl&)impl

Modified: trunk/Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm (199691 => 199692)


--- trunk/Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm	2016-04-18 22:28:33 UTC (rev 199691)
+++ trunk/Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm	2016-04-18 22:29:48 UTC (rev 199692)
@@ -63,6 +63,12 @@
 
 using namespace WebCore;
 
+@interface NSApplication ()
+- (BOOL)isSpeaking;
+- (void)speakString:(NSString *)string;
+- (void)stopSpeaking:(id)sender;
+@end
+
 namespace WebKit {
 
 static inline bool expectsLegacyImplicitRubberBandControl()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to