• Yuichiro Hanada's avatar
    Remove {Set, Get}OverrideContentUrl in keyboard_content_util. · 8d50a442
    Yuichiro Hanada authored
    Before this change, URL of custom input view of IMEs, which is loaded
    by ChromeKeyboardUI when an user invokes Virtual Keyboard, is stored
    in global variables in keyboard_content_util and everyone can override
    it accidentally.
    This change moves that state into InputMethodManagerImpl and adds some
    methods to interact with that state.
    
    Bug: 819018
    Test: Related unit tests pass and manual testing with ime menu tray.
    Change-Id: Ic6f8e0e108c3706ad1ff2ce90aeeb1388704ff36
    Reviewed-on: https://chromium-review.googlesource.com/953023
    Commit-Queue: Yuichiro Hanada <yhanada@chromium.org>
    Reviewed-by: default avatarShu Chen <shuchen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543864}
    8d50a442
keyboard_content_util.cc 5.07 KB