DescriptionMigrate IME state update flow
Refactored the flow for IME state update so it bypasses CVCImpl
and go straight from RWHVA -> ImeAdapter native -> Java layer.
Other related changes are:
ImeAdapter provides EventObserver to reduce the dependency on CVC,
based on the suggestion made in https://goo.gl/pdtQCl. It is used
by an embedder (Chrome) and CVC to deal with IME notification.
This replaces IME state update done through CVC. Only the necessary
info (node editability, password attribute) are passed.
ImeAdapter.ImeAdapterDelegate is to delegate some work upon IME
events. But it is used by ContentViewCore only, and there is no
clear benefit of having the interface. It was removed for
simplification. All the stuff can be (and are now) handled inside
ImeAdapter.
BUG=662908, 626765, 620172, 709349
Review-Url: https://codereview.chromium.org/2777223004
Cr-Original-Commit-Position: refs/heads/master@{#462419}
Committed: https://chromium.googlesource.com/chromium/src/+/cc9e77e7d9e05da0f6017f1bdea024f0ce669786
Review-Url: https://codereview.chromium.org/2777223004
Cr-Commit-Position: refs/heads/master@{#463508}
Committed: https://chromium.googlesource.com/chromium/src/+/e4f39f538c7a9fe52a635d4fc4c92e3a5c82fe8a
Patch Set 1 #Patch Set 2 : fix tests #
Total comments: 12
Patch Set 3 : comments #
Total comments: 1
Patch Set 4 : rebase #Patch Set 5 : rebase after revert #Patch Set 6 : fix crbug.com/709349 #Patch Set 7 : rebase #Messages
Total messages: 51 (36 generated)
|