DescriptionMove WebTextCheckClient reference from WebViewImpl to WebLocalFrameImpl
This is Patch 5 of 6 for making SpellCheckProvider a RenderFrameObserver, so
that spellcheck can work in OOPIF. Full design: https://goo.gl/VfCENk
This patch moves the Blink-side reference to WebTextCheckClient from
WebViewImpl to WebLocalFrameImpl, as a preparation for changing
SpellCheckProvider from RenderViewObserver to RenderFrameObserver.
Currently, SpellCheckProvider is still view-based, and all WebLocalFrames of
the same view are holding references to the same SpellCheckProvider. Follow
up patch will change that.
For layout tests, by design there should be only one mock spell checker
instance. This patch also ensures that this instance is used by all
WebLocalFrames.
BUG=638361
Review-Url: https://codereview.chromium.org/2797073002
Cr-Commit-Position: refs/heads/master@{#462538}
Committed: https://chromium.googlesource.com/chromium/src/+/81bfb1741ab51947f5fc7c741eadd92779fe13b2
Patch Set 1 #Patch Set 2 : Move ref only #Patch Set 3 : Tue Apr 4 20:53:35 PDT 2017 #
Total comments: 6
Patch Set 4 : Wed Apr 5 16:41:29 PDT 2017 #
Total comments: 2
Patch Set 5 : Spell my name correctly #Messages
Total messages: 33 (16 generated)
|