• Christopher Cameron's avatar
    RemoteMacViews: Move FocusChangeListener and InputMethodDelegate · 1bd4c1f4
    Christopher Cameron authored
    Move the interfaces FocusChangeListener and InputMethodDelegate from
    being implemented by BridgedNativeWidget to being implemented in
    BridgedNativeWidgetHostImpl. This has the effect of moving them from
    the app shim process to the browser process.
    
    This is in preparaton for removing access to TextInputClient from
    BridgedContentView (that operation is delicate). Add a temporary
    method on BridgedNativeWidget to set the TextInputClient for
    BridgedContentView from BridgedNativeWidgetHostImpl (where we now
    receive the OnDidChangeFocus notification).
    
    Bug: 859152
    Change-Id: I1f5639448cc9f7b4b00058444ab64914b9193df3
    Reviewed-on: https://chromium-review.googlesource.com/1170582Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
    Commit-Queue: ccameron <ccameron@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#582238}
    1bd4c1f4
bridged_native_widget.h 14 KB