Chromium Code Reviews
DescriptionMoving remaining mocks from WebTestProxyBase into TestRunner.
This CL moves SpellCheckClient and MockCredentialManagerClient
from WebTestProxyBase into TestRunner. This keeps the mocks
closer to the actual usage and helps further limit the amount
of code left inside WebTestProxyBase (most of the code has been
moved out into WebFrameTestClient and WebViewTestClient in the
few previous CLs).
This CL also makes WebTestRunner responsible for installing mocks
it manages into a particular WebView (i.e. this CL moves this
code out of LayoutTestContentRendererClient::RenderViewCreated
and into WebTestRunner::InitializeWebViewWithMocks).
Note that the removed WebTestProxyBase::PostSpellCheckEvent method
didn't disappear altogether, but was instead inlined into
SpellCheckClient::FinishLastTextCheck.
BUG=595089
Committed: https://crrev.com/5c2279cfe031d3fe92687e7e83f13feeafb407c0
Cr-Commit-Position: refs/heads/master@{#385194}
Patch Set 1 #Patch Set 2 : Rebasing... #Patch Set 3 : Rebasing... #Patch Set 4 : Rebasing... #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 14 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||