• Yuichiro Hanada's avatar
    Reland: Fix text input on ARC++ Kiosk apps. · 5d576e9a
    Yuichiro Hanada authored
    The original CL is crrev.com/c/1291289. It was reverted due to crash.
    Please see crbug.com/903671.
    
    We changed IsInArcAppWindow() to use the window property,
    aura::client::kAppType, but it's not set for ARC++ Kiosk apps' window.
    It makes text input on ARC++ Kiosk apps stop working.
    This CL adds a temporary workaround for this situation. Ideally,
    IsArcAppWindow() in arc_util.cc should handle windows of ARC++ Kiosk app
    correctly.
    
    Bug: 891825, 903671
    Test: Can type text on Wikipedia kiosk app.
    Change-Id: I3e6457ee3dc5f3fdcca35a7acbb007325697ddbd
    Reviewed-on: https://chromium-review.googlesource.com/c/1339779Reviewed-by: default avatarYusuke Sato <yusukes@chromium.org>
    Commit-Queue: Yuichiro Hanada <yhanada@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609551}
    5d576e9a
arc_ime_service.cc 19.5 KB