Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(935)

Unified Diff: components/test_runner/web_frame_test_client.cc

Issue 2036873002: Making EventSender talk to the right WebWidget (for OOPIF support). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ed7e7a5c9496cbdf8f805f8832f2fe997d4f644a..251c001fef0ced5cf8e1b42f2067ef787e2c4705 100644
--- a/components/test_runner/web_frame_test_client.cc
+++ b/components/test_runner/web_frame_test_client.cc
@@ -390,7 +390,7 @@ blink::WebPlugin* WebFrameTestClient::createPlugin(
void WebFrameTestClient::showContextMenu(
const blink::WebContextMenuData& context_menu_data) {
- web_test_proxy_base_->event_sender()->SetContextMenuData(context_menu_data);
+ web_frame_test_proxy_base_->event_sender()->SetContextMenuData(context_menu_data);
}
blink::WebUserMediaClient* WebFrameTestClient::userMediaClient() {
@@ -750,6 +750,7 @@ void WebFrameTestClient::checkIfAudioSinkExistsAndIsAuthorized(
void WebFrameTestClient::didClearWindowObject(blink::WebLocalFrame* frame) {
web_test_proxy_base_->test_interfaces()->BindTo(frame);
web_test_proxy_base_->BindTo(frame);
+ web_frame_test_proxy_base_->BindTo(frame);
}
} // namespace test_runner

Powered by Google App Engine
This is Rietveld 408576698