Changeset 222487 in webkit
- Timestamp:
- Sep 25, 2017, 7:33:43 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 19 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r222486 r222487 1 2017-09-25 Frederik Riedel <riedel@apple.com> 2 3 Expose way to set values of classified form controls as {Legacy WebKit, WebKit} SPI 4 https://bugs.webkit.org/show_bug.cgi?id=174394 5 <rdar://problem/33183504> 6 7 Reviewed by Ryosuke Niwa. 8 9 * WebCore.xcodeproj/project.pbxproj: 10 * editing/ios/AutofillElements.cpp: Added. 11 (WebCore::isAutofillableElement): Returns true if the element is of type text or email. 12 (WebCore::nextAutofillableElement): Returns the next focusable element that is autofillable. 13 (WebCore::previousAutofillableElement): Returns the previous focusable element that is autofillable. 14 (WebCore::AutofillElements::computeAutofillElements): Computes the autofill elements (username & password) 15 for a given input element. 16 (WebCore::AutofillElements::autofill): Fills the credentials into the pair of username/password elements. 17 * editing/ios/AutofillElements.h: Added. 18 1 19 2017-09-25 Devin Rousso <webkit@devinrousso.com> 2 20 -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r222478 r222487 2298 2298 5162C7F511F77EFB00612EFE /* SchemeRegistry.h in Headers */ = {isa = PBXBuildFile; fileRef = 5162C7F311F77EFB00612EFE /* SchemeRegistry.h */; settings = {ATTRIBUTES = (Private, ); }; }; 2299 2299 5166D3CD1E8ED48F00AD62E3 /* StorageType.h in Headers */ = {isa = PBXBuildFile; fileRef = 5166D3CC1E8ED41100AD62E3 /* StorageType.h */; settings = {ATTRIBUTES = (Private, ); }; }; 2300 51699EE31F608CD500D57D06 /* AutofillElements.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51699EE11F608CD500D57D06 /* AutofillElements.cpp */; }; 2301 51699EE41F608CD500D57D06 /* AutofillElements.h in Headers */ = {isa = PBXBuildFile; fileRef = 51699EE21F608CD500D57D06 /* AutofillElements.h */; settings = {ATTRIBUTES = (Private, ); }; }; 2300 2302 516BB7940CE91E6800512F79 /* JSTreeWalkerCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 516BB7920CE91E6800512F79 /* JSTreeWalkerCustom.cpp */; }; 2301 2303 516C62201950D48700337E75 /* GamepadEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 516C621D1950D48700337E75 /* GamepadEvent.cpp */; }; … … 10198 10200 51645B541B9F88E800F789CE /* IDBCursor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IDBCursor.cpp; sourceTree = "<group>"; }; 10199 10201 5166D3CC1E8ED41100AD62E3 /* StorageType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageType.h; sourceTree = "<group>"; }; 10202 51699EE11F608CD500D57D06 /* AutofillElements.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AutofillElements.cpp; sourceTree = "<group>"; }; 10203 51699EE21F608CD500D57D06 /* AutofillElements.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AutofillElements.h; sourceTree = "<group>"; }; 10200 10204 516BB7920CE91E6800512F79 /* JSTreeWalkerCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTreeWalkerCustom.cpp; sourceTree = "<group>"; }; 10201 10205 516C621D1950D48700337E75 /* GamepadEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GamepadEvent.cpp; sourceTree = "<group>"; }; … … 18390 18394 isa = PBXGroup; 18391 18395 children = ( 18396 51699EE11F608CD500D57D06 /* AutofillElements.cpp */, 18397 51699EE21F608CD500D57D06 /* AutofillElements.h */, 18392 18398 D0BD4F5A1408850F006839B6 /* DictationCommandIOS.cpp */, 18393 18399 D0BD4F5B1408850F006839B6 /* DictationCommandIOS.h */, … … 27162 27168 7C1843FE1C8B7283002EB973 /* Autofill.h in Headers */, 27163 27169 7C1E97281A9F9834007BF0FB /* AutoFillButtonElement.h in Headers */, 27170 51699EE41F608CD500D57D06 /* AutofillElements.h in Headers */, 27164 27171 C9D467051E60C465008195FB /* AutoplayEvent.h in Headers */, 27165 27172 45830D4E1679B4F800ACF8C3 /* AutoscrollController.h in Headers */, … … 27831 27838 4129C9971F59B963009D7403 /* FetchBodySource.h in Headers */, 27832 27839 41D129DB1F3D143800D15E47 /* FetchHeaders.h in Headers */, 27840 416E6FE81BBD12DF000A6023 /* FetchInternalsBuiltins.h in Headers */, 27833 27841 41AD753A1CEF6BD100A31486 /* FetchOptions.h in Headers */, 27834 27842 7CE1914D1F2A9AFB00272F78 /* FetchReferrerPolicy.h in Headers */, … … 31326 31334 7C1843FD1C8B7283002EB973 /* Autofill.cpp in Sources */, 31327 31335 7C1E97271A9F9834007BF0FB /* AutoFillButtonElement.cpp in Sources */, 31336 51699EE31F608CD500D57D06 /* AutofillElements.cpp in Sources */, 31328 31337 45830D4D1679B4F800ACF8C3 /* AutoscrollController.cpp in Sources */, 31329 31338 A8CFF0500A154F09000A4234 /* AutoTableLayout.cpp in Sources */, -
trunk/Source/WebCore/editing/ios/AutofillElements.h
r222486 r222487 24 24 */ 25 25 26 #i f PLATFORM(IOS)26 #include "HTMLInputElement.h" 27 27 28 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 29 @protocol UIDragSession; 30 @class UIDragInteraction; 31 @class UIDragItem; 32 #endif 28 namespace WebCore { 33 29 34 #if USE(APPLE_INTERNAL_SDK) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 35 36 #import <UIKit/UIApplication_Private.h> 37 #import <UIKit/UIDragInteraction_Private.h> 38 39 #else 40 41 WTF_EXTERN_C_BEGIN 42 43 void UIApplicationInitialize(void); 44 45 WTF_EXTERN_C_END 46 47 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 48 @protocol UIDragInteractionDelegate_ForWebKitOnly <UIDragInteractionDelegate> 49 @optional 50 - (void)_dragInteraction:(UIDragInteraction *)interaction prepareForSession:(id<UIDragSession>)session completion:(void(^)(void))completion; 51 @end 52 #endif // __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 53 54 #endif 55 56 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 57 @protocol UIDragInteractionDelegate_Proposed_SPI_33146803 <UIDragInteractionDelegate> 58 - (void)_dragInteraction:(UIDragInteraction *)interaction itemsForAddingToSession:(id <UIDragSession>)session withTouchAtPoint:(CGPoint)point completion:(void(^)(NSArray<UIDragItem *> *))completion; 59 @end 60 #endif // __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 61 62 #endif // PLATFORM(IOS) 30 class AutofillElements { 31 WTF_MAKE_FAST_ALLOCATED; 32 public: 33 WEBCORE_EXPORT static std::optional<AutofillElements> computeAutofillElements(Ref<HTMLInputElement>); 34 WEBCORE_EXPORT void autofill(String, String); 35 private: 36 AutofillElements(RefPtr<HTMLInputElement>&&, RefPtr<HTMLInputElement>&&); 37 RefPtr<HTMLInputElement> m_username; 38 RefPtr<HTMLInputElement> m_password; 39 }; 40 } // namespace WebCore -
trunk/Source/WebKit/ChangeLog
r222478 r222487 1 2017-09-25 Frederik Riedel <riedel@apple.com> 2 3 Expose way to set values of classified form controls as {Legacy WebKit, WebKit} SPI 4 https://bugs.webkit.org/show_bug.cgi?id=174394 5 <rdar://problem/33183504> 6 7 Reviewed by Ryosuke Niwa. 8 9 * Platform/spi/ios/UIKitSPI.h: 10 * Shared/AssistedNodeInformation.cpp: 11 (WebKit::AssistedNodeInformation::encode const): 12 Encodes additional node information, including if the node is part of a login screen. 13 (WebKit::AssistedNodeInformation::decode): 14 Decodes the additional assisted node information. 15 * Shared/AssistedNodeInformation.h: 16 * UIProcess/WebPageProxy.h: 17 * UIProcess/ios/WKContentView.mm: 18 (-[WKContentView acceptsAutofilledLoginCredentials]): 19 Determines if the WKContentView shows a login screen. 20 (-[WKContentView representingPageUrl]): 21 Returns the URL of the currently displayed web page. 22 * UIProcess/ios/WKContentViewInteraction.mm: 23 (-[WKContentView insertTextSuggestion:]): 24 Inserts the login credentials into the Web View. 25 * UIProcess/ios/WebPageProxyIOS.mm: 26 (WebKit::WebPageProxy::startAssistingNode): 27 Transfer the additional assistednode information (acceptsAutofilledLoginCredentials and representingPageUrl). 28 (WebKit::WebPageProxy::acceptsAutofilledLoginCredentials): 29 Returns if the Web View shows a login screen. 30 (WebKit::WebPageProxy::representingPageUrl): 31 Returns the Web View's URL. 32 (WebKit::WebPageProxy::autofillLoginCredentials): 33 Insert the credentials into the Web View. 34 * WebProcess/WebPage/WebPage.h: 35 * WebProcess/WebPage/WebPage.messages.in: 36 * WebProcess/WebPage/ios/WebPageIOS.mm: 37 (WebKit::WebPage::getAssistedNodeInformation): Transports the information if the currently 38 highlighted node accepts autofilled login credentials. 39 (WebKit::WebPage::autofillLoginCredentials): Fills the login credentials into the 40 WebPage. 41 1 42 2017-09-25 Youenn Fablet <youenn@apple.com> 2 43 -
trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h
r222265 r222487 44 44 #import <UIKit/UIKeyboardImpl.h> 45 45 #import <UIKit/UIKeyboardIntl.h> 46 #if __has_include(<UIKit/UIKeyboardLoginCredentialsSuggestion.h>) 47 #import <UIKit/UIKeyboardLoginCredentialsSuggestion.h> 48 #else 49 #import <UIKit/UITextInput_Private.h> 50 @interface UIKeyboardLoginCredentialsSuggestion : UITextSuggestion 51 52 @property (nonatomic, assign) NSString *username; 53 @property (nonatomic, assign) NSString *password; 54 55 @end 56 #endif 46 57 #import <UIKit/UIKeyboard_Private.h> 47 58 #import <UIKit/UILongPressGestureRecognizer_Private.h> -
trunk/Source/WebKit/Shared/AssistedNodeInformation.cpp
r222233 r222487 87 87 encoder << valueAsNumber; 88 88 encoder << title; 89 encoder << acceptsAutofilledLoginCredentials; 90 encoder << representingPageURL; 89 91 encoder.encodeEnum(autofillFieldName); 90 92 } … … 161 163 return false; 162 164 165 if (!decoder.decode(result.acceptsAutofilledLoginCredentials)) 166 return false; 167 168 if (!decoder.decode(result.representingPageURL)) 169 return false; 170 163 171 if (!decoder.decodeEnum(result.autofillFieldName)) 164 172 return false; -
trunk/Source/WebKit/Shared/AssistedNodeInformation.h
r222233 r222487 30 30 #include <WebCore/Autofill.h> 31 31 #include <WebCore/IntRect.h> 32 #include <WebCore/URL.h> 32 33 #include <wtf/text/WTFString.h> 33 34 … … 110 111 double valueAsNumber { 0 }; 111 112 String title; 113 bool acceptsAutofilledLoginCredentials { false }; 114 WebCore::URL representingPageURL; 112 115 WebCore::AutofillFieldName autofillFieldName { WebCore::AutofillFieldName::None }; 113 116 -
trunk/Source/WebKit/UIProcess/WebPageProxy.h
r222468 r222487 80 80 #include <WebCore/TextChecking.h> 81 81 #include <WebCore/TextGranularity.h> 82 #include <WebCore/URL.h> 82 83 #include <WebCore/UserInterfaceLayoutDirection.h> 83 84 #include <memory> … … 560 561 void requestRectsForGranularityWithSelectionOffset(WebCore::TextGranularity, uint32_t offset, WTF::Function<void(const Vector<WebCore::SelectionRect>&, CallbackBase::Error)>&&); 561 562 void requestRectsAtSelectionOffsetWithText(int32_t offset, const String&, WTF::Function<void(const Vector<WebCore::SelectionRect>&, CallbackBase::Error)>&&); 563 bool acceptsAutofilledLoginCredentials(); 564 WebCore::URL representingPageURL(); 565 void autofillLoginCredentials(const String& username, const String& password); 562 566 #if ENABLE(DATA_INTERACTION) 563 567 void didPerformDataInteractionControllerOperation(bool handled); … … 1989 1993 std::unique_ptr<NodeAssistanceArguments> m_deferredNodeAssistanceArguments; 1990 1994 bool m_forceAlwaysUserScalable { false }; 1995 bool m_acceptsAutofilledLoginCredentials { false }; 1996 WebCore::URL m_representingPageURL; 1991 1997 #endif 1992 1998 -
trunk/Source/WebKit/UIProcess/ios/WKContentView.mm
r220506 r222487 259 259 } 260 260 261 - (BOOL)acceptsAutofilledLoginCredentials 262 { 263 return _page->acceptsAutofilledLoginCredentials(); 264 } 265 266 - (NSURL *)representingPageURL 267 { 268 return _page->representingPageURL(); 269 } 270 261 271 - (void)willMoveToWindow:(UIWindow *)newWindow 262 272 { -
trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
r221870 r222487 2977 2977 [self.inputDelegate selectionDidChange:self]; 2978 2978 } 2979 2979 2980 #if USE(APPLE_INTERNAL_SDK) 2980 2981 - (void)insertTextSuggestion:(UITextSuggestion *)textSuggestion 2981 2982 { 2983 // FIXME: Replace NSClassFromString with actual class as soon as UIKit submitted the new class into the iOS SDK. 2984 if ([textSuggestion isKindOfClass:NSClassFromString(@"UIKeyboardLoginCredentialsSuggestion")]) { 2985 _page->autofillLoginCredentials([(UIKeyboardLoginCredentialsSuggestion *)textSuggestion username], [(UIKeyboardLoginCredentialsSuggestion *)textSuggestion password]); 2986 return; 2987 } 2982 2988 id <_WKInputDelegate> inputDelegate = [_webView _inputDelegate]; 2983 2989 if ([inputDelegate respondsToSelector:@selector(_webView:insertTextSuggestion:inInputSession:)]) 2984 2990 [inputDelegate _webView:_webView insertTextSuggestion:textSuggestion inInputSession:_formInputSession.get()]; 2985 2991 } 2992 #endif // USE(APPLE_INTERNAL_SDK) 2986 2993 2987 2994 - (NSString *)textInRange:(UITextRange *)range -
trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
r221660 r222487 892 892 void WebPageProxy::startAssistingNode(const AssistedNodeInformation& information, bool userIsInteracting, bool blurPreviousNode, const UserData& userData) 893 893 { 894 m_acceptsAutofilledLoginCredentials = information.acceptsAutofilledLoginCredentials; 895 m_representingPageURL = information.representingPageURL; 894 896 API::Object* userDataObject = process().transformHandlesToObjects(userData.object()).get(); 895 897 if (m_editorState.isMissingPostLayoutData) { … … 909 911 } 910 912 m_pageClient.stopAssistingNode(); 913 } 914 915 bool WebPageProxy::acceptsAutofilledLoginCredentials() 916 { 917 return m_acceptsAutofilledLoginCredentials; 918 } 919 920 WebCore::URL WebPageProxy::representingPageURL() 921 { 922 return m_representingPageURL; 923 } 924 925 void WebPageProxy::autofillLoginCredentials(const String& username, const String& password) 926 { 927 m_process->send(Messages::WebPage::AutofillLoginCredentials(username, password), m_pageID); 911 928 } 912 929 -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.h
r222456 r222487 577 577 void performActionOnElement(uint32_t action); 578 578 void focusNextAssistedNode(bool isForward, CallbackID); 579 void autofillLoginCredentials(const String&, const String&); 579 580 void setAssistedNodeValue(const String&); 580 581 void setAssistedNodeValueAsNumber(double); -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in
r222456 r222487 85 85 FocusNextAssistedNode(bool isForward, WebKit::CallbackID callbackID) 86 86 SetAssistedNodeValue(String value) 87 AutofillLoginCredentials(String username, String password) 87 88 SetAssistedNodeValueAsNumber(double value) 88 89 SetAssistedNodeSelectedIndex(uint32_t index, bool allowMultipleSelection) -
trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
r222478 r222487 54 54 #import <CoreText/CTFont.h> 55 55 #import <WebCore/Autofill.h> 56 #import <WebCore/AutofillElements.h> 56 57 #import <WebCore/Chrome.h> 57 58 #import <WebCore/DataDetection.h> … … 2751 2752 if (form) 2752 2753 information.formAction = form->getURLAttribute(WebCore::HTMLNames::actionAttr); 2754 information.acceptsAutofilledLoginCredentials = !!WebCore::AutofillElements::computeAutofillElements(element); 2755 information.representingPageURL = element.document().urlForBindings(); 2753 2756 information.autocapitalizeType = element.autocapitalizeType(); 2754 2757 information.isAutocorrect = element.shouldAutocorrect(); … … 2808 2811 } 2809 2812 2813 void WebPage::autofillLoginCredentials(const String& username, const String& password) 2814 { 2815 if (is<HTMLInputElement>(*m_assistedNode)) { 2816 if (auto autofillElements = AutofillElements::computeAutofillElements(downcast<HTMLInputElement>(*m_assistedNode))) 2817 autofillElements->autofill(username, password); 2818 } 2819 } 2820 2810 2821 void WebPage::setViewportConfigurationMinimumLayoutSize(const FloatSize& size) 2811 2822 { -
trunk/Source/WebKitLegacy/mac/ChangeLog
r222477 r222487 1 2017-09-25 Frederik Riedel <riedel@apple.com> 2 3 Expose way to set values of classified form controls as {Legacy WebKit, WebKit} SPI 4 https://bugs.webkit.org/show_bug.cgi?id=174394 5 <rdar://problem/33183504> 6 7 Reviewed by Ryosuke Niwa. 8 9 * DOM/DOMHTMLInputElement.h: 10 * DOM/DOMHTMLInputElement.mm: 11 (-[DOMHTMLInputElement acceptsAutofilledLoginCredentials]): 12 Determines if this HTMLInputElement is part of a login screen. 13 (-[DOMHTMLInputElement representingPageUrl]): 14 Returns the webpage's URL that is currently displayed in the Web View. 15 (-[DOMHTMLInputElement insertTextSuggestion:]): 16 Inserts login credentials into the Web View. 17 1 18 2017-09-25 Sam Weinig <sam@webkit.org> 2 19 -
trunk/Source/WebKitLegacy/mac/DOM/DOMHTMLInputElement.h
r204717 r222487 25 25 26 26 #import <WebKitLegacy/DOMHTMLElement.h> 27 #if TARGET_OS_IPHONE 28 #import <UIKit/UITextInputTraits.h> 29 #endif 27 30 28 31 @class DOMFileList; … … 32 35 33 36 WEBKIT_CLASS_AVAILABLE_MAC(10_4) 37 #if TARGET_OS_IPHONE 38 @interface DOMHTMLInputElement : DOMHTMLElement<UITextInputTraits> 39 #else 34 40 @interface DOMHTMLInputElement : DOMHTMLElement 41 #endif 35 42 @property (copy) NSString *accept; 36 43 @property (copy) NSString *alt; -
trunk/Source/WebKitLegacy/mac/DOM/DOMHTMLInputElement.mm
r208624 r222487 34 34 #import "DOMPrivate.h" 35 35 #import "ExceptionHandlers.h" 36 37 // FIXME <radar:34583628>: Simplyfy this once the UIKit work is available in the build. 38 #if USE(APPLE_INTERNAL_SDK) && TARGET_OS_IPHONE 39 #if __has_include(<UIKit/UIKeyboardLoginCredentialsSuggestion.h>) 40 #import <UIKit/UIKeyboardLoginCredentialsSuggestion.h> 41 #else 42 #import <UIKit/UITextInput_Private.h> 43 @interface UIKeyboardLoginCredentialsSuggestion : UITextSuggestion 44 45 @property (nonatomic, assign) NSString *username; 46 @property (nonatomic, assign) NSString *password; 47 48 @end 49 #endif // __has_include(<UIKit/UIKeyboardLoginCredentialsSuggestion.h>) 50 #endif // USE(APPLE_INTERNAL_SDK) && TARGET_OS_IPHONE 51 52 #import <WebCore/AutofillElements.h> 36 53 #import <WebCore/FileList.h> 37 54 #import <WebCore/HTMLElement.h> … … 667 684 } 668 685 686 - (BOOL)acceptsAutofilledLoginCredentials 687 { 688 WebCore::JSMainThreadNullState state; 689 return !!WebCore::AutofillElements::computeAutofillElements(*IMPL); 690 } 691 692 - (NSURL *)representingPageURL 693 { 694 WebCore::JSMainThreadNullState state; 695 return [NSURL URLWithString:self.ownerDocument.URL]; 696 } 697 698 #if USE(APPLE_INTERNAL_SDK) && TARGET_OS_IPHONE 699 - (void)insertTextSuggestion:(UIKeyboardLoginCredentialsSuggestion *)credentialsSuggestion 700 { 701 WebCore::JSMainThreadNullState state; 702 if (is<WebCore::HTMLInputElement>(IMPL)) { 703 if (auto autofillElements = WebCore::AutofillElements::computeAutofillElements(*IMPL)) 704 autofillElements->autofill(credentialsSuggestion.username, credentialsSuggestion.password); 705 } 706 } 707 #endif // USE(APPLE_INTERNAL_SDK) && TARGET_OS_IPHONE 708 669 709 @end 670 710 -
trunk/Tools/ChangeLog
r222482 r222487 1 2017-09-25 Frederik Riedel <riedel@apple.com> 2 3 Expose way to set values of classified form controls as {Legacy WebKit, WebKit} SPI 4 https://bugs.webkit.org/show_bug.cgi?id=174394 5 <rdar://problem/33183504> 6 7 Reviewed by Ryosuke Niwa. 8 9 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 10 * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: Added. 11 (-[WKWebView _privateTextInput]): Testing helpers. 12 (TestWebKitAPI::TEST): Added test cases to test AutoFill for web views. 13 * TestWebKitAPI/ios/UIKitSPI.h: 14 1 15 2017-09-25 Frederic Wang <fwang@igalia.com> 2 16 -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r222462 r222487 162 162 51393E221523952D005F39C5 /* DOMWindowExtensionBasic_Bundle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51393E1D1523944A005F39C5 /* DOMWindowExtensionBasic_Bundle.cpp */; }; 163 163 5142B2731517C8C800C32B19 /* ContextMenuCanCopyURL.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = 5142B2721517C89100C32B19 /* ContextMenuCanCopyURL.html */; }; 164 514958BE1F7427AC00E87BAD /* WKWebViewAutofillTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 514958BD1F7427AC00E87BAD /* WKWebViewAutofillTests.mm */; }; 164 165 515BE16F1D428BB100DD7C68 /* StoreBlobToBeDeleted.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = 515BE16E1D4288FF00DD7C68 /* StoreBlobToBeDeleted.html */; }; 165 166 515BE1711D428E4B00DD7C68 /* StoreBlobThenDelete.mm in Sources */ = {isa = PBXBuildFile; fileRef = 515BE1701D428BD100DD7C68 /* StoreBlobThenDelete.mm */; }; … … 1243 1244 5142B2701517C88B00C32B19 /* ContextMenuCanCopyURL.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ContextMenuCanCopyURL.mm; sourceTree = "<group>"; }; 1244 1245 5142B2721517C89100C32B19 /* ContextMenuCanCopyURL.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = ContextMenuCanCopyURL.html; sourceTree = "<group>"; }; 1246 514958BD1F7427AC00E87BAD /* WKWebViewAutofillTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebViewAutofillTests.mm; sourceTree = "<group>"; }; 1245 1247 515BE16E1D4288FF00DD7C68 /* StoreBlobToBeDeleted.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = StoreBlobToBeDeleted.html; sourceTree = "<group>"; }; 1246 1248 515BE1701D428BD100DD7C68 /* StoreBlobThenDelete.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StoreBlobThenDelete.mm; sourceTree = "<group>"; }; … … 2120 2122 7560917719259C59009EF06E /* MemoryCacheAddImageToCacheIOS.mm */, 2121 2123 F46849BD1EEF58E400B937FE /* UIPasteboardTests.mm */, 2124 514958BD1F7427AC00E87BAD /* WKWebViewAutofillTests.mm */, 2122 2125 ); 2123 2126 path = ios; … … 3454 3457 51C683DE1EA134E800650183 /* WKURLSchemeHandler-1.mm in Sources */, 3455 3458 5182C22E1F2BCE540059BA7C /* WKURLSchemeHandler-leaks.mm in Sources */, 3459 514958BE1F7427AC00E87BAD /* WKWebViewAutofillTests.mm in Sources */, 3456 3460 2EFF06D71D8AF34A0004BB30 /* WKWebViewCandidateTests.mm in Sources */, 3457 3461 A14FC5851B89739100D107EB /* WKWebViewConfigurationExtras.mm in Sources */, -
trunk/Tools/TestWebKitAPI/ios/UIKitSPI.h
r221870 r222487 26 26 #if PLATFORM(IOS) 27 27 28 #import <UIKit/UITextInputTraits.h> 29 28 30 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 29 31 @protocol UIDragSession; … … 36 38 #import <UIKit/UIApplication_Private.h> 37 39 #import <UIKit/UIDragInteraction_Private.h> 40 #import <UIKit/UITextInputTraits_Private.h> 41 #import <UIKit/UITextSuggestion.h> 42 43 44 @protocol UITextInputTraits_Private_Staging_34583628 <NSObject, UITextInputTraits> 45 @property (nonatomic, readonly) BOOL acceptsAutofilledLoginCredentials; 46 @end 38 47 39 48 #else … … 52 61 #endif // __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 53 62 63 @protocol UITextInputTraits_Private <NSObject, UITextInputTraits> 64 @property (nonatomic, readonly) BOOL acceptsAutofilledLoginCredentials; 65 @end 66 54 67 #endif 55 68
Note:
See TracChangeset
for help on using the changeset viewer.