| Index: components/test_runner/web_frame_test_client.cc
|
| diff --git a/components/test_runner/web_frame_test_client.cc b/components/test_runner/web_frame_test_client.cc
|
| index dc681f0d42dec5ed54bbfb91c60dfd0ae8e1db86..38f6204345b9b0a9acac18fad191ae230d4b6a32 100644
|
| --- a/components/test_runner/web_frame_test_client.cc
|
| +++ b/components/test_runner/web_frame_test_client.cc
|
| @@ -22,6 +22,7 @@
|
| #include "components/test_runner/web_frame_test_proxy.h"
|
| #include "components/test_runner/web_test_delegate.h"
|
| #include "components/test_runner/web_view_test_proxy.h"
|
| +#include "components/test_runner/web_widget_test_proxy.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| #include "third_party/WebKit/public/platform/WebURL.h"
|
| #include "third_party/WebKit/public/platform/WebURLRequest.h"
|
| @@ -371,8 +372,9 @@ blink::WebPlugin* WebFrameTestClient::createPlugin(
|
|
|
| void WebFrameTestClient::showContextMenu(
|
| const blink::WebContextMenuData& context_menu_data) {
|
| - web_view_test_proxy_base_->event_sender()->SetContextMenuData(
|
| - context_menu_data);
|
| + delegate_->GetWebWidgetTestProxyBase(web_frame_test_proxy_base_->web_frame())
|
| + ->event_sender()
|
| + ->SetContextMenuData(context_menu_data);
|
| }
|
|
|
| blink::WebUserMediaClient* WebFrameTestClient::userMediaClient() {
|
| @@ -685,6 +687,7 @@ void WebFrameTestClient::checkIfAudioSinkExistsAndIsAuthorized(
|
| void WebFrameTestClient::didClearWindowObject(blink::WebLocalFrame* frame) {
|
| web_view_test_proxy_base_->test_interfaces()->BindTo(frame);
|
| web_view_test_proxy_base_->BindTo(frame);
|
| + delegate_->GetWebWidgetTestProxyBase(frame)->BindTo(frame);
|
| }
|
|
|
| bool WebFrameTestClient::runFileChooser(
|
|
|