Description[refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController
In line with refactoring the duplicated IME code, the implementation of
WebWidget::textInputInfo() and WebWidget::textInputType() have been
moved to WebINputMethodController. The benefits of this refactor are:
1- This is compliant by the fact that the actual logic lives in
InputMethodController class. Therefore, it makes sense to have the
calles use the public wrapper instead of WebWidget.
2- This helps with the separation of WebView and WebWidget as the
refactored methods are removed from both.
This CL follows up on the original refactoring CL which landed
WebInputMethodController (https://codereview.chromium.org/2333813002/).
Doc:
https://docs.google.com/document/d/13Nidlg5yIsxQRqXgBPqmb-KcT8q85Z1ds9Z1-Vo1XQQ/edit?usp=sharing
BUG=629721
Committed: https://crrev.com/59cd849d12cffcc4f31281e758deb18111717796
Cr-Commit-Position: refs/heads/master@{#440046}
Patch Set 1 #
Total comments: 1
Patch Set 2 : 'controller' may be nullptr. #
Total comments: 2
Patch Set 3 : Addressing creis@'s comment #Patch Set 4 : Rebased Fixed a compile error #Patch Set 5 : Added #include to respect IWYU #Patch Set 6 : Fixed a compile error on Windows #Patch Set 7 : Followed creis@'s suggestion #Patch Set 8 : Rebased #Patch Set 9 : Rebased #Patch Set 10 : Fixed Rebase #Messages
Total messages: 29 (18 generated)
|