WebKit Bugzilla
Attachment 360387 Details for
Bug 193927
: [Cocoa] Add SPI to _WKUserContentExtensionStore to retrieve its underlying WKContentRuleListStore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-193927-20190128152418.patch (text/plain), 2.35 KB, created by
Andy Estes
on 2019-01-28 15:24:19 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Andy Estes
Created:
2019-01-28 15:24:19 PST
Size:
2.35 KB
patch
obsolete
>Subversion Revision: 240588 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index e90a49d68ad6ee2f5a07cd88c41367e1905242a0..cb378c242c00eb15fc4bc919703ec3047a8c67fe 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,17 @@ >+2019-01-28 Andy Estes <aestes@apple.com> >+ >+ [Cocoa] Add SPI to _WKUserContentExtensionStore to retrieve its underlying WKContentRuleListStore >+ https://bugs.webkit.org/show_bug.cgi?id=193927 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ This is useful for clients migrating from _WKUserContentExtensionStore to the modern >+ WKContentRuleList* APIs. >+ >+ * UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm: >+ (-[_WKUserContentExtensionStore _contentRuleListStore]): >+ * UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h: >+ > 2019-01-28 Antoine Quint <graouts@apple.com> > > Limit user-agent interactions based on the touch-action property on iOS >diff --git a/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm b/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm >index 65518563200e300091042d6a619ac8dbcf728727..23ece0ef3d58f60dabee72474ea1bfd353a7b641 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm >+++ b/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm >@@ -127,6 +127,11 @@ - (id)_initWithWKContentRuleListStore:(WKContentRuleListStore*)contentRuleListSt > return self; > } > >+- (WKContentRuleListStore *)_contentRuleListStore >+{ >+ return _contentRuleListStore.get(); >+} >+ > @end > > #endif // WK_API_ENABLED >diff --git a/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h b/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h >index f382d530d46b5d3e949fc015cb38647b0b0d068f..011903f9e7efd29b65198b440b204c2a670e7440 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h >+++ b/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h >@@ -36,6 +36,7 @@ > - (void)_invalidateContentExtensionVersionForIdentifier:(NSString *)identifier; > > - (id)_initWithWKContentRuleListStore:(WKContentRuleListStore*)contentRuleListStore WK_API_AVAILABLE(macosx(10.13), ios(11.0)); >+@property (nonatomic, readonly) WKContentRuleListStore *_contentRuleListStore WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); > > @end >
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 193927
:
360387
|
360390