WebKit Bugzilla
Attachment 343351 Details for
Bug 186935
: Expose colorFilterEnabled SPI in WKPreferencesPrivate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for bug 186935.
patch.diff (text/plain), 2.35 KB, created by
Luming Yin
on 2018-06-22 12:17:01 PDT
(
hide
)
Description:
Updated patch for bug 186935.
Filename:
MIME Type:
Creator:
Luming Yin
Created:
2018-06-22 12:17:01 PDT
Size:
2.35 KB
patch
obsolete
>diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 13f3ad7ac87..b3415f387bd 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,16 @@ >+2018-06-22 Luming Yin <luming_yin@apple.com> >+ >+ Expose colorFilterEnabled SPI in WKPreferencesPrivate.h >+ https://bugs.webkit.org/show_bug.cgi?id=186935 >+ <rdar://problem/41109387> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * UIProcess/API/Cocoa/WKPreferences.mm: >+ (-[WKPreferences _setColorFilterEnabled:]): >+ (-[WKPreferences _colorFilterEnabled]): >+ * UIProcess/API/Cocoa/WKPreferencesPrivate.h: >+ > 2018-06-19 Wenson Hsieh <wenson_hsieh@apple.com> > > [WebKit on watchOS] Vend username text content type when using scribble in login fields >diff --git a/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm b/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >index 5fc0bc5a73a..110aa8ce587 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >+++ b/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >@@ -862,6 +862,16 @@ - (BOOL)_pageCacheSupportsPlugins > return _preferences->pageCacheSupportsPlugins(); > } > >+- (void)_setColorFilterEnabled:(BOOL)enabled >+{ >+ _preferences->setColorFilterEnabled(enabled); >+} >+ >+- (BOOL)_colorFilterEnabled >+{ >+ return _preferences->colorFilterEnabled(); >+} >+ > - (void)_setShouldPrintBackgrounds:(BOOL)enabled > { > _preferences->setShouldPrintBackgrounds(enabled); >diff --git a/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h b/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >index c005fcbc27f..37386d423b7 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >+++ b/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >@@ -137,6 +137,7 @@ typedef NS_ENUM(NSInteger, _WKEditableLinkBehavior) { > @property (nonatomic, setter=_setShouldEnableTextAutosizingBoost:) BOOL _shouldEnableTextAutosizingBoost WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); > > @property (nonatomic, setter=_setStorageAccessPromptsEnabled:) BOOL _storageAccessPromptsEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); >+@property (nonatomic, setter=_setColorFilterEnabled:) BOOL _colorFilterEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); > > #if !TARGET_OS_IPHONE > @property (nonatomic, setter=_setWebGLEnabled:) BOOL _webGLEnabled WK_API_AVAILABLE(macosx(10.13.4));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 186935
:
343350
| 343351