[CRD iOS] Fix the jarring "Hide Keyboard" UX
Previously when the user taps "Hide Keyboard" from the session menu, the keyboard will immediately show then hide itself. This CL prevents the keyboard from showing between (alert is shown, action is executed) and manually shows it again only when necessary. This CL also includes some refactoring to reduce redundant common code. Bug: 750956 Change-Id: I545e1880352e279ebf324676f7680600761b78f3 Reviewed-on: https://chromium-review.googlesource.com/595016Reviewed-by:Scott Nichols <nicholss@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#491154}
Showing
Please register or sign in to comment