The WebContent process does not suspend when MiniBrowser is minimized.
[WebKit-https.git] / Source / WebCore / PAL / pal / spi / cf / CFUtilitiesSPI.h
index 5a63a47..4beb53a 100644 (file)
@@ -38,6 +38,10 @@ typedef CF_ENUM(CFIndex, CFSystemVersion) {
     CFSystemVersionMountainLion = 8,
 };
 
+typedef CF_OPTIONS(uint64_t, __CFRunLoopOptions) {
+    __CFRunLoopOptionsEnableAppNap = 0x3b000000
+};
+
 #endif
 
 WTF_EXTERN_C_BEGIN
@@ -52,4 +56,6 @@ Boolean _CFExecutableLinkedOnOrAfter(CFSystemVersion);
 CFDictionaryRef _CFCopySystemVersionDictionary();
 CFDictionaryRef _CFWebServicesCopyProviderInfo(CFStringRef serviceType, Boolean* outIsUserSelection);
 
+void __CFRunLoopSetOptionsReason(__CFRunLoopOptions opts, CFStringRef reason);
+
 WTF_EXTERN_C_END