RemoteRWHVMac: Update first responder, key, and tooltip methods
Make RWHVMac call through RWHVNSViewBridge, and make RWHVCocoa call through RWHVNSViewClient. Some of these methods depended on knowing if RHWVMac::host() still existed, so refactor tear-down to add a RWHNSViewBridge::Destroy method which informs the RHWVCocoa whether or not its |client_| is still callable. Once RWHVCocoa no longer calls into the RWHVMac directly, all of these lifetimes will be clean-up-able. Bug: 821651 Change-Id: I30f6060ce661504f1eadf933384a6f1cbe4a3c96 Reviewed-on: https://chromium-review.googlesource.com/979595 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#546066}
Showing
Please register or sign in to comment