[Cocoa] Add a way to tell whether a WKWebProcessPlugInNodeHandle is a text-type HTML input element
Created attachment 228856 [details] Add -[WKWebProcessPlugInNodeHandle isTextField]
Comment on attachment 228856 [details] Add -[WKWebProcessPlugInNodeHandle isTextField] View in context: https://bugs.webkit.org/attachment.cgi?id=228856&action=review > Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h:45 > +@property (nonatomic, readonly, getter=isTextField) BOOL textField; I think we should follow the pattern from JSValue here and make this a method named isTextField instead of a property.
(In reply to comment #2) > (From update of attachment 228856 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=228856&action=review > > > Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h:45 > > +@property (nonatomic, readonly, getter=isTextField) BOOL textField; > > I think we should follow the pattern from JSValue here and make this a method named isTextField instead of a property. Done. Committed <http://trac.webkti.org/r166936>.