Simplify tests by using Web*Impl types directly.
Casting between public and impl types is usually just noise
in unit tests, so avoid it when possible.
- Change WebViewHelper::webView() to just return WebViewImpl*
- Removed WebViewHelper::webViewImpl() since it's redundant
- Change FrameTestHelpers::createLocalChild() to return a
WebLocalFrameImpl*
- Change FrameTestHelpers::createRemoteChild() to return a
WebRemoteFrameImpl*
- Use WebViewImpl::mainFrameImpl() where possible to get the main frame.
This should also provide an easy way to grep for how many things depend
on a local main frame.
BUG=none
Review-Url: https://codereview.chromium.org/2165573003
Cr-Commit-Position: refs/heads/master@{#406506}
26 files changed