• Ryan Landay's avatar
    Add support for Android SuggestionSpans · 3fc7721d
    Ryan Landay authored
    This is the final CL to add support for Android SuggestionSpans (at least ones
    not marked with FLAG_MISSPELLING; there will be one or more additional CLs to
    add support for those). This CL includes:
    
    - Changes to ImeAdapter to make it pass SuggestionSpans into
      InputMethodController
    
    - Changes to InputMethodController to make it create suggestion markers from the
      passed-in SuggestionSpans
    
    - Additional methods in TextSuggestionController for getting the list of text
      suggestions under the cursor, and applying a suggestion
    
    - More Mojo code to pass information about text suggestions back-and-forth
      between browser and renderer code
    
    - Changes to SuggestionsPopupWindow and TextSuggestionHost so we can show either
      a spell check or a text suggestion menu
    
    Bug: 672259
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
    Change-Id: I3f30543586901baec4648d265874a303efafbd44
    Reviewed-on: https://chromium-review.googlesource.com/627172
    Commit-Queue: Ryan Landay <rlanday@chromium.org>
    Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
    Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
    Reviewed-by: default avatarXiaocheng Hu <xiaochengh@chromium.org>
    Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
    Reviewed-by: default avatarAlexandre Elias <aelias@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#501335}
    3fc7721d
input_host.mojom 1.02 KB