Expose WKUserScript as API
Created attachment 231604 [details] Patch
Attachment 231604 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKUserScriptInternal.h:32: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKUserContentControllerInternal.h:36: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 36 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 231604 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231604&action=review > Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.h:41 > +class WebUserContentControllerProxy final : public RefCounted<WebUserContentControllerProxy> { There is nothing virtual about this class. Does adding final really help here? > Source/WebKit2/WebProcess/UserContent/WebUserContentController.h:51 > +private: This private is redundant. > Source/WebKit2/WebProcess/UserContent/WebUserContentController.h:53 > + RefPtr<WebCore::UserContentController> m_userContentController; This could probably be a Ref<WebCore::UserContentController> m_userContentController;
Committed r168994: <http://trac.webkit.org/changeset/168994>