Changeset 239034 in webkit


Ignore:
Timestamp:
Dec 10, 2018, 9:55:34 AM (6 years ago)
Author:
ap@apple.com
Message:

Move more macros out of WebKit's config.h
https://bugs.webkit.org/show_bug.cgi?id=192430

Reviewed by Tim Horton.

Source/WebKit:

  • config.h:

Source/WTF:

  • wtf/Platform.h:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r239021 r239034  
     12018-12-10  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Move more macros out of WebKit's config.h
     4        https://bugs.webkit.org/show_bug.cgi?id=192430
     5
     6        Reviewed by Tim Horton.
     7
     8        * wtf/Platform.h:
     9
    1102018-12-09  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
    211
  • trunk/Source/WTF/wtf/Platform.h

    r238949 r239034  
    14281428#define USE_NEW_THEME 1
    14291429#endif
     1430
     1431#if PLATFORM(MAC)
     1432#define HAVE_WINDOW_SERVER_OCCLUSION_NOTIFICATIONS 1
     1433#endif
     1434
     1435#if PLATFORM(COCOA)
     1436#define HAVE_SEC_ACCESS_CONTROL 1
     1437#endif
     1438
     1439#if PLATFORM(IOS)
     1440/* FIXME: SafariServices.framework exists on macOS. It is only used by WebKit on iOS, so the behavior is correct, but the name is misleading. */
     1441#define HAVE_SAFARI_SERVICES_FRAMEWORK 1
     1442#endif
     1443
     1444#if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || PLATFORM(IOS)) && !defined(__i386__)
     1445#define HAVE_SAFE_BROWSING 1
     1446#endif
     1447
     1448#if PLATFORM(IOS)
     1449#define HAVE_LINK_PREVIEW 1
     1450#endif
  • trunk/Source/WebKit/ChangeLog

    r239029 r239034  
     12018-12-10  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Move more macros out of WebKit's config.h
     4        https://bugs.webkit.org/show_bug.cgi?id=192430
     5
     6        Reviewed by Tim Horton.
     7
     8        * config.h:
     9
    1102018-12-10  Chris Fleizach  <cfleizach@apple.com>
    211
  • trunk/Source/WebKit/config.h

    r238792 r239034  
    6767#endif
    6868
    69 #if PLATFORM(MAC)
    70 #ifndef HAVE_WINDOW_SERVER_OCCLUSION_NOTIFICATIONS
    71 #define HAVE_WINDOW_SERVER_OCCLUSION_NOTIFICATIONS 1
    72 #endif
    73 #endif
    74 
    7569// FIXME: We should work towards not using CredentialStorage in WebKit to not have problems with digest authentication.
    7670#ifndef USE_CREDENTIAL_STORAGE_WITH_NETWORK_SESSION
     
    8478#endif
    8579
    86 #ifndef HAVE_SEC_ACCESS_CONTROL
    87 #if PLATFORM(IOS_FAMILY) || PLATFORM(MAC)
    88 #define HAVE_SEC_ACCESS_CONTROL 1
    89 #endif
    90 #endif
    91 
    9280#ifndef ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION
    9381#if (PLATFORM(COCOA) || PLATFORM(GTK))
     
    9886#endif
    9987
    100 #ifndef HAVE_SAFARI_SERVICES_FRAMEWORK
    101 #if PLATFORM(IOS_FAMILY) && (!defined TARGET_OS_IOS || TARGET_OS_IOS) && !PLATFORM(IOSMAC)
    102 #define HAVE_SAFARI_SERVICES_FRAMEWORK 1
    103 #else
    104 #define HAVE_SAFARI_SERVICES_FRAMEWORK 0
    105 #endif
    106 #endif
    107 
    108 #ifndef HAVE_LINK_PREVIEW
    109 #if defined TARGET_OS_IOS && TARGET_OS_IOS
    110 #define HAVE_LINK_PREVIEW 1
    111 #else
    112 #define HAVE_LINK_PREVIEW 0
    113 #endif
    114 #endif
    115 
    116 #if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)) && !defined(__i386__) && !PLATFORM(IOSMAC)
    117 #define HAVE_SAFE_BROWSING 1
    118 #else
    119 #define HAVE_SAFE_BROWSING 0
    120 #endif
    121 
    12288#ifndef ENABLE_HTTPS_UPGRADE
    12389#define ENABLE_HTTPS_UPGRADE 0
Note: See TracChangeset for help on using the changeset viewer.