[Android] Relanding Smart GO NEXT feature in Android Chrome 2/2

Desktop / Chromium - AJITH KUMAR V [samsung.com] - 8 August 2017 06:39 EDT

This is second patch of Smart GO NEXT feature. Initial patch is landed @ https://codereview.chromium.org/2967493002/

Design Document: https://docs.google.com/document/d/1h0diigZ8LUi7A3UKJ_zwNUbvNQoe-Nwr55_p6ivSPNg/edit?usp=sharing

Performance regression is getting tackled using the triggering of Focus Controller call only if element focus is changed, otherwise continue to use previously cached value. This will save unwanted tree traversal in every frame update.

BUG=410785, 648986, 733222, 737388

Change-Id: Ib2c7343a6ec7dea18c7cfa5ac283ac4d29e3a4cb Reviewed-on: https://chromium-review.googlesource.com/574514 Commit-Queue: AJITH KUMAR V

041c0b0 [Android] Relanding Smart GO NEXT feature in Android Chrome 2/2
.../content/browser/input/ImeActivityTestRule.java | 10 +-
.../chromium/content/browser/input/ImeTest.java | 64 +++
.../test/util/TestInputMethodManagerWrapper.java | 8 +
content/renderer/render_widget.cc | 19 +
content/renderer/render_widget.h | 4 +
content/test/data/android/input/input_forms.html | 12 +-
.../Source/core/editing/InputMethodController.cpp | 23 +
.../Source/core/editing/InputMethodController.h | 4 +
.../core/exported/WebInputMethodControllerImpl.cpp | 6 +
.../core/exported/WebInputMethodControllerImpl.h | 1 +
.../WebKit/Source/core/exported/WebViewTest.cpp | 497 +++++++++++++++++++++
...n_form_with_disabled_and_readonly_elements.html | 11 +
...nce_focus_in_form_with_key_event_listeners.html | 31 ++
...vance_focus_in_form_with_tabindex_elements.html | 12 +
.../WebKit/public/web/WebInputMethodController.h | 7 +
15 files changed, 703 insertions(+), 6 deletions(-)

Upstream: git.chromium.org


  • Share