Adopt formal protocols for CA delegates
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Nov 2015 00:49:12 +0000 (00:49 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Nov 2015 00:49:12 +0000 (00:49 +0000)
commite40b89b35b9f00b9470caf268195b5c8dcaae101
tree8bfe15038d995d5c8ade3be8fa3bb81300c32881
parent5120e77188a4b696b9657a0ad5fc918d19fa513d
Adopt formal protocols for CA delegates
https://bugs.webkit.org/show_bug.cgi?id=151121
<rdar://problem/6739193>

Reviewed by Anders Carlsson.

* platform/graphics/cocoa/WebActionDisablingCALayerDelegate.h:
Note that our WebActionDisablingCALayerDelegate is, in fact, a CALayerDelegate.

* platform/spi/cocoa/QuartzCoreSPI.h:
Add empty protocol definitions where necessary.

* WebCore.xcodeproj/project.pbxproj:
* platform/spi/mac/NSAccessibilitySPI.h: Added.
* platform/spi/mac/NSApplicationSPI.h: Added.
* platform/spi/mac/NSTextFinderSPI.h: Added.
* platform/spi/mac/NSViewSPI.h: Added.
Split out SPI headers from WebKit2's AppKitSPI.h.
Add NSViewSPI to note that NSView is (internally) a CALayerDelegate,
which WebHTMLView depends on.

* WebView/WebHTMLView.mm:

* UIProcess/API/Cocoa/WKWebView.mm:
* UIProcess/Cocoa/WebViewImpl.mm:
* UIProcess/mac/WKTextFinderClient.mm:
* UIProcess/mac/WebPageProxyMac.mm:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/cocoa/WebProcessCocoa.mm:
Adapt to the split out SPI headers.

* WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm:
Conform!

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
Source/WebCore/ChangeLog
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/platform/graphics/cocoa/WebActionDisablingCALayerDelegate.h
Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h
Source/WebCore/platform/spi/mac/NSAccessibilitySPI.h [new file with mode: 0644]
Source/WebCore/platform/spi/mac/NSApplicationSPI.h [new file with mode: 0644]
Source/WebCore/platform/spi/mac/NSTextFinderSPI.h [moved from Source/WebKit2/Platform/spi/mac/AppKitSPI.h with 62% similarity]
Source/WebCore/platform/spi/mac/NSViewSPI.h [new file with mode: 0644]
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebHTMLView.mm
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm
Source/WebKit2/UIProcess/mac/WKTextFinderClient.mm
Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
Source/WebKit2/WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm
Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm