Changeset 188162 in webkit
- Timestamp:
- Aug 7, 2015 2:12:47 PM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r188150 r188162 1 2015-08-07 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Temporarily allow programmatic input assistance for adding Gmail account 4 https://bugs.webkit.org/show_bug.cgi?id=147792 5 6 Reviewed by Enrica Casucci. 7 <rdar://problem/22126518> 8 9 Temporary fix for keyboard input sliding out and immediately back in upon user interaction 10 in the Gmail 2-factor authentication page. 11 12 * platform/RuntimeApplicationChecksIOS.h: 13 * platform/RuntimeApplicationChecksIOS.mm: 14 (WebCore::applicationIsGmailAddAccountOnIOS): Added bundle ID for Gmail settings. 15 1 16 2015-08-07 Andy Estes <aestes@apple.com> 2 17 -
trunk/Source/WebCore/platform/RuntimeApplicationChecksIOS.h
r185733 r188162 44 44 bool applicationIsWebProcess(); 45 45 bool applicationIsIBooksOnIOS(); 46 WEBCORE_EXPORT bool applicationIsGmailAddAccountOnIOS(); 46 47 47 48 } // namespace WebCore -
trunk/Source/WebCore/platform/RuntimeApplicationChecksIOS.mm
r185733 r188162 123 123 } 124 124 125 bool applicationIsGmailAddAccountOnIOS() 126 { 127 static const bool isGmailAddAccountOnIOS = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.social.SLGoogleAuth.SLGoogleAuthService"]; 128 return isGmailAddAccountOnIOS; 129 } 130 125 131 } // namespace WebCore 126 132 -
trunk/Source/WebKit2/ChangeLog
r188144 r188162 1 2015-08-07 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Temporarily allow programmatic input assistance for adding Gmail account 4 https://bugs.webkit.org/show_bug.cgi?id=147792 5 6 Reviewed by Enrica Casucci. 7 <rdar://problem/22126518> 8 9 Temporary fix for keyboard input sliding out and immediately back in upon user interaction 10 in the Gmail 2-factor authentication page. 11 12 * UIProcess/ios/WKContentViewInteraction.mm: 13 (-[WKContentView _startAssistingNode:userIsInteracting:blurPreviousNode:userObject:]): Early 14 return no longer triggers due to lack of user interaction when adding a new Gmail account 15 through Settings. 16 1 17 2015-08-07 Brady Eidson <beidson@apple.com> 2 18 -
trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm
r188112 r188162 65 65 #import <WebCore/Path.h> 66 66 #import <WebCore/PathUtilities.h> 67 #import <WebCore/RuntimeApplicationChecksIOS.h> 67 68 #import <WebCore/Scrollbar.h> 68 69 #import <WebCore/SoftLinking.h> … … 3019 3020 - (void)_startAssistingNode:(const AssistedNodeInformation&)information userIsInteracting:(BOOL)userIsInteracting blurPreviousNode:(BOOL)blurPreviousNode userObject:(NSObject <NSSecureCoding> *)userObject 3020 3021 { 3021 if (!userIsInteracting && !_textSelectionAssistant) 3022 // FIXME: This is a temporary workaround for <rdar://problem/22126518>. The real fix will involve refactoring 3023 // the way we assist programmatically focused nodes. 3024 if (!applicationIsGmailAddAccountOnIOS() && !userIsInteracting && !_textSelectionAssistant) 3022 3025 return; 3023 3026
Note: See TracChangeset
for help on using the changeset viewer.