| Index: components/test_runner/web_test_proxy.cc
|
| diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
|
| index b021480cbdd229930586915fa765c57514e657a6..766459d30835f462fe8612710ce9bcaba15d8a72 100644
|
| --- a/components/test_runner/web_test_proxy.cc
|
| +++ b/components/test_runner/web_test_proxy.cc
|
| @@ -379,7 +379,8 @@ std::string DumpAllBackForwardLists(TestInterfaces* interfaces,
|
| }
|
|
|
| WebTestProxyBase::WebTestProxyBase()
|
| - : test_interfaces_(NULL),
|
| + : web_test_interfaces_(NULL),
|
| + test_interfaces_(NULL),
|
| delegate_(NULL),
|
| web_widget_(NULL),
|
| spellcheck_(new SpellCheckClient(this)),
|
| @@ -392,10 +393,15 @@ WebTestProxyBase::~WebTestProxyBase() {
|
| }
|
|
|
| void WebTestProxyBase::SetInterfaces(WebTestInterfaces* interfaces) {
|
| + web_test_interfaces_ = interfaces;
|
| test_interfaces_ = interfaces->GetTestInterfaces();
|
| test_interfaces_->WindowOpened(this);
|
| }
|
|
|
| +WebTestInterfaces* WebTestProxyBase::GetInterfaces() {
|
| + return web_test_interfaces_;
|
| +}
|
| +
|
| void WebTestProxyBase::SetDelegate(WebTestDelegate* delegate) {
|
| delegate_ = delegate;
|
| spellcheck_->SetDelegate(delegate);
|
| @@ -403,6 +409,10 @@ void WebTestProxyBase::SetDelegate(WebTestDelegate* delegate) {
|
| speech_recognizer_->SetDelegate(delegate);
|
| }
|
|
|
| +WebTestDelegate* WebTestProxyBase::GetDelegate() {
|
| + return delegate_;
|
| +}
|
| +
|
| blink::WebView* WebTestProxyBase::GetWebView() const {
|
| DCHECK(web_widget_);
|
| // TestRunner does not support popup widgets. So |web_widget|_ is always a
|
|
|