Disable QuickLook on tvOS
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Sep 2015 07:33:05 +0000 (07:33 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Sep 2015 07:33:05 +0000 (07:33 +0000)
commita090a8c24d5134fe8adb66b480c8f38379a59aff
treec34a8914c475ece81a9680c8096465c8d844d36e
parentcd1efdf5cebf219c08e6b820864a99426c15a2ca
Disable QuickLook on tvOS
https://bugs.webkit.org/show_bug.cgi?id=149492
<rdar://problem/22741586>

Reviewed by Dan Bernstein.

Source/WebKit/mac:

We can't use USE(QUICK_LOOK) in a Private header, and postprocess-headers.sh doesn't know how to strip things
that aren't feature flags. So, if QuickLook is disabled, we'll just always define WebQuickLookFileNameKey and
WebQuickLookUTIKey, and we'll also define -quickLookContentForURL: but have it return nil.

* WebView/WebView.mm:
(-[WebView quickLookContentForURL:]):

Source/WTF:

* wtf/Platform.h: Stopped enabling QuickLook on tvOS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/Platform.h
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebView.mm