Changeset 163731 in webkit


Ignore:
Timestamp:
Feb 8, 2014 5:13:50 PM (10 years ago)
Author:
mitz@apple.com
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):

Location:
trunk/Source/WebKit/mac
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r163717 r163731  
     12014-02-08  Dan Bernstein  <mitz@apple.com>
     2
     3        Remove use of PLATFORM(MAC) from WebKit/mac
     4        https://bugs.webkit.org/show_bug.cgi?id=128476
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * WebCoreSupport/WebFrameLoaderClient.h:
     9        * WebCoreSupport/WebSystemInterface.mm:
     10        (InitWebCoreSystemInterface):
     11
    1122014-02-08  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.h

    r162786 r163731  
    223223#endif
    224224
    225 #if PLATFORM(MAC)
    226225    virtual RemoteAXObjectRef accessibilityRemoteObject() override { return 0; }
    227 #endif
    228226   
    229227    RetainPtr<WebFramePolicyListener> setUpPolicyListener(WebCore::FramePolicyFunction);
  • trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm

    r162114 r163731  
    5252    INIT(CGPatternCreateWithImageAndTransform);
    5353    INIT(CGContextResetClip);
    54 #if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
     54#if !PLATFORM(IOS)
    5555    INIT(CGContextDrawsWithCorrectShadowOffsets);
    5656#endif
     
    6161    INIT(CopyCONNECTProxyResponse);
    6262    INIT(CopyNSURLResponseStatusLine);
    63 #if PLATFORM(MAC)
    6463    INIT(CopyNSURLResponseCertificateChain);
    65 #endif
    6664    INIT(CreateCustomCFReadStream);
    6765#if !PLATFORM(IOS)
     
    8583    INIT(GetPreferredExtensionForMIMEType);
    8684    INIT(GetWheelEventDeltas);
    87 #if PLATFORM(MAC)
    8885    INIT(GetNSEventKeyChar);
    89 #endif
    9086    INIT(HitTestMediaUIPart);
    9187#endif
     
    176172
    177173#if !PLATFORM(IOS)
    178 #if PLATFORM(MAC)
    179174    INIT(SpeechSynthesisGetVoiceIdentifiers);
    180175    INIT(SpeechSynthesisGetDefaultVoiceIdentifierForLocale);
    181 #endif
    182176    INIT(GetAXTextMarkerTypeID);
    183177    INIT(GetAXTextMarkerRangeTypeID);
     
    195189    INIT(CopyHTTPCookieStorage);
    196190    INIT(GetHTTPCookieAcceptPolicy);
    197 #if PLATFORM(MAC)
    198191    INIT(HTTPCookies);
    199 #endif
    200192    INIT(HTTPCookiesForURL);
    201193    INIT(SetHTTPCookiesForURL);
    202 #if PLATFORM(MAC)
    203194    INIT(DeleteAllHTTPCookies);
    204 #endif
    205195    INIT(DeleteHTTPCookie);
    206196
     
    215205#endif
    216206
    217 #if PLATFORM(MAC)
    218     // FIXME: We should stop using this file in Chromium.
    219 
    220207    INIT(DestroyRenderingResources);
    221208
    222209#if !PLATFORM(IOS)
    223210    INIT(CreateVMPressureDispatchOnMainQueue);
    224 #endif
    225 
    226 #if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
     211
     212#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
    227213    INIT(CreateMemoryStatusPressureCriticalDispatchOnMainQueue);
    228214#endif
    229215
    230 #if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
    231216    INIT(ExecutableWasLinkedOnOrBeforeLion);
    232217#endif
     
    244229#endif
    245230
    246 #if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
     231#if !PLATFORM(IOS)
    247232    INIT(NSElasticDeltaForTimeDelta);
    248233    INIT(NSElasticDeltaForReboundDelta);
     
    258243#endif
    259244
    260 #endif
    261245    didInit = true;
    262246}
Note: See TracChangeset for help on using the changeset viewer.