[Webkit-unassigned] [Bug 174394] Expose way to set values of classified form controls as {Legacy WebKit, WebKit} SPI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 20 11:19:24 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174394

--- Comment #41 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 321328
  --> https://bugs.webkit.org/attachment.cgi?id=321328
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=321328&action=review

> Source/WebKitLegacy/mac/DOM/DOMHTMLInputElement.mm:46
>  #import "ExceptionHandlers.h"
> +#if __has_include(<UIKit/UIKeyboardLoginCredentialsSuggestion.h>)
> +#import <UIKit/UIKeyboardLoginCredentialsSuggestion.h>
> +#else
> +#import <UIKit/UITextInput_Private.h>
> + at interface UIKeyboardLoginCredentialsSuggestion : UITextSuggestion
> +
> + at property (nonatomic, assign) NSString *username;
> + at property (nonatomic, assign) NSString *password;
> +
> + at end
> +#endif

You need to wrap this whole thing in #if PLATFORM(IOS) or #if TARGET_OS_IPHONE

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170920/1065b11e/attachment.html>


More information about the webkit-unassigned mailing list