Title: [163731] trunk/Source/WebKit/mac
- Revision
- 163731
- Author
- m...@apple.com
- Date
- 2014-02-08 17:13:50 -0800 (Sat, 08 Feb 2014)
Log Message
Remove use of PLATFORM(MAC) from WebKit/mac
https://bugs.webkit.org/show_bug.cgi?id=128476
Reviewed by Anders Carlsson.
* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (163730 => 163731)
--- trunk/Source/WebKit/mac/ChangeLog 2014-02-09 00:46:17 UTC (rev 163730)
+++ trunk/Source/WebKit/mac/ChangeLog 2014-02-09 01:13:50 UTC (rev 163731)
@@ -1,5 +1,16 @@
2014-02-08 Dan Bernstein <m...@apple.com>
+ Remove use of PLATFORM(MAC) from WebKit/mac
+ https://bugs.webkit.org/show_bug.cgi?id=128476
+
+ Reviewed by Anders Carlsson.
+
+ * WebCoreSupport/WebFrameLoaderClient.h:
+ * WebCoreSupport/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface):
+
+2014-02-08 Dan Bernstein <m...@apple.com>
+
Remove client-drawn highlights (-webkit-highlight, WebHTMLHighlighter)
https://bugs.webkit.org/show_bug.cgi?id=128456
Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.h (163730 => 163731)
--- trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.h 2014-02-09 00:46:17 UTC (rev 163730)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.h 2014-02-09 01:13:50 UTC (rev 163731)
@@ -222,9 +222,7 @@
virtual bool shouldLoadMediaElementURL(const WebCore::URL&) const override;
#endif
-#if PLATFORM(MAC)
virtual RemoteAXObjectRef accessibilityRemoteObject() override { return 0; }
-#endif
RetainPtr<WebFramePolicyListener> setUpPolicyListener(WebCore::FramePolicyFunction);
Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm (163730 => 163731)
--- trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm 2014-02-09 00:46:17 UTC (rev 163730)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm 2014-02-09 01:13:50 UTC (rev 163731)
@@ -51,7 +51,7 @@
#endif
INIT(CGPatternCreateWithImageAndTransform);
INIT(CGContextResetClip);
-#if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
+#if !PLATFORM(IOS)
INIT(CGContextDrawsWithCorrectShadowOffsets);
#endif
#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
@@ -60,9 +60,7 @@
INIT(CopyCFLocalizationPreferredName);
INIT(CopyCONNECTProxyResponse);
INIT(CopyNSURLResponseStatusLine);
-#if PLATFORM(MAC)
INIT(CopyNSURLResponseCertificateChain);
-#endif
INIT(CreateCustomCFReadStream);
#if !PLATFORM(IOS)
INIT(DrawCapsLockIndicator);
@@ -84,9 +82,7 @@
INIT(SignedPublicKeyAndChallengeString);
INIT(GetPreferredExtensionForMIMEType);
INIT(GetWheelEventDeltas);
-#if PLATFORM(MAC)
INIT(GetNSEventKeyChar);
-#endif
INIT(HitTestMediaUIPart);
#endif
INIT(InitializeMaximumHTTPConnectionCountPerHost);
@@ -175,10 +171,8 @@
#endif
#if !PLATFORM(IOS)
-#if PLATFORM(MAC)
INIT(SpeechSynthesisGetVoiceIdentifiers);
INIT(SpeechSynthesisGetDefaultVoiceIdentifierForLocale);
-#endif
INIT(GetAXTextMarkerTypeID);
INIT(GetAXTextMarkerRangeTypeID);
INIT(CreateAXTextMarker);
@@ -194,14 +188,10 @@
INIT(CopyRequestWithStorageSession);
INIT(CopyHTTPCookieStorage);
INIT(GetHTTPCookieAcceptPolicy);
-#if PLATFORM(MAC)
INIT(HTTPCookies);
-#endif
INIT(HTTPCookiesForURL);
INIT(SetHTTPCookiesForURL);
-#if PLATFORM(MAC)
INIT(DeleteAllHTTPCookies);
-#endif
INIT(DeleteHTTPCookie);
INIT(GetCFURLResponseMIMEType);
@@ -214,20 +204,15 @@
INIT(SetMetadataURL);
#endif
-#if PLATFORM(MAC)
- // FIXME: We should stop using this file in Chromium.
-
INIT(DestroyRenderingResources);
#if !PLATFORM(IOS)
INIT(CreateVMPressureDispatchOnMainQueue);
-#endif
-#if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
INIT(CreateMemoryStatusPressureCriticalDispatchOnMainQueue);
#endif
-#if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
INIT(ExecutableWasLinkedOnOrBeforeLion);
#endif
@@ -243,7 +228,7 @@
INIT(GetVendorNameForNavigator);
#endif
-#if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
+#if !PLATFORM(IOS)
INIT(NSElasticDeltaForTimeDelta);
INIT(NSElasticDeltaForReboundDelta);
INIT(NSReboundDeltaForElasticDelta);
@@ -257,6 +242,5 @@
INIT(CachePartitionKey);
#endif
-#endif
didInit = true;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes