WebKit Bugzilla
Attachment 362149 Details for
Bug 194718
: Add SPI version of WKPreferences.safeBrowsingEnabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-194718-20190215131911.patch (text/plain), 2.56 KB, created by
Alex Christensen
on 2019-02-15 13:19:12 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alex Christensen
Created:
2019-02-15 13:19:12 PST
Size:
2.56 KB
patch
obsolete
>Index: Source/WebKit/ChangeLog >=================================================================== >--- Source/WebKit/ChangeLog (revision 241609) >+++ Source/WebKit/ChangeLog (working copy) >@@ -1,3 +1,15 @@ >+2019-02-15 Alex Christensen <achristensen@webkit.org> >+ >+ Add SPI version of WKPreferences.safeBrowsingEnabled >+ https://bugs.webkit.org/show_bug.cgi?id=194718 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * UIProcess/API/Cocoa/WKPreferences.mm: >+ (-[WKPreferences _isSafeBrowsingEnabled]): >+ (-[WKPreferences _setSafeBrowsingEnabled:]): >+ * UIProcess/API/Cocoa/WKPreferencesPrivate.h: >+ > 2019-02-15 Youenn Fablet <youenn@apple.com> > > Make ServiceWorkerClientFetch closer to WebResourceLoader >Index: Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >=================================================================== >--- Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm (revision 241587) >+++ Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm (working copy) >@@ -1336,6 +1336,16 @@ - (BOOL)_shouldEnableTextAutosizingBoost > #endif > } > >+- (BOOL)_isSafeBrowsingEnabled >+{ >+ return _preferences->safeBrowsingEnabled(); >+} >+ >+- (void)_setSafeBrowsingEnabled:(BOOL)enabled >+{ >+ _preferences->setSafeBrowsingEnabled(enabled); >+} >+ > - (void)_setVideoQualityIncludesDisplayCompositingEnabled:(BOOL)videoQualityIncludesDisplayCompositingEnabled > { > _preferences->setVideoQualityIncludesDisplayCompositingEnabled(videoQualityIncludesDisplayCompositingEnabled); >Index: Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >=================================================================== >--- Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h (revision 241587) >+++ Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h (working copy) >@@ -143,6 +143,8 @@ typedef NS_ENUM(NSInteger, _WKEditableLi > > @property (nonatomic, setter=_setShouldEnableTextAutosizingBoost:) BOOL _shouldEnableTextAutosizingBoost WK_API_AVAILABLE(macosx(10.14), ios(12.0)); > >+@property (nonatomic, getter=_isSafeBrowsingEnabled, setter=_setSafeBrowsingEnabled:) BOOL _safeBrowsingEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); >+ > @property (nonatomic, setter=_setStorageAccessPromptsEnabled:) BOOL _storageAccessPromptsEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); > @property (nonatomic, setter=_setColorFilterEnabled:) BOOL _colorFilterEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); > @property (nonatomic, setter=_setPunchOutWhiteBackgroundsInDarkMode:) BOOL _punchOutWhiteBackgroundsInDarkMode WK_API_AVAILABLE(macosx(10.14), ios(12.0));
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 194718
: 362149 |
362168