Temporarily allow programmatic input assistance for adding Gmail account
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Aug 2015 21:12:47 +0000 (21:12 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Aug 2015 21:12:47 +0000 (21:12 +0000)
commit08f6e438361be7802ccf982302ab33be0bb156dc
tree020e8cf1392b0c484a1bec32db792a9c62a1153d
parent2f9da3bd20be265a5d64541cd6bd62d54968357b
Temporarily allow programmatic input assistance for adding Gmail account
https://bugs.webkit.org/show_bug.cgi?id=147792

Reviewed by Enrica Casucci.
<rdar://problem/22126518>

Temporary fix for keyboard input sliding out and immediately back in upon user interaction
in the Gmail 2-factor authentication page.

Source/WebCore:

* platform/RuntimeApplicationChecksIOS.h:
* platform/RuntimeApplicationChecksIOS.mm:
(WebCore::applicationIsGmailAddAccountOnIOS): Added bundle ID for Gmail settings.

Source/WebKit2:

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _startAssistingNode:userIsInteracting:blurPreviousNode:userObject:]): Early
    return no longer triggers due to lack of user interaction when adding a new Gmail account
    through Settings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/RuntimeApplicationChecksIOS.h
Source/WebCore/platform/RuntimeApplicationChecksIOS.mm
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm