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

Unified Diff: components/test_runner/web_frame_test_client.cc

Issue 1973133002: ✀ Remove postMessage plumbing for swappedout:// ✀ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to use std::move instead of release(). 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
« no previous file with comments | « components/test_runner/web_frame_test_client.h ('k') | components/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3ebeb98df67e17614cf3a7ce332e4e84efbb7104..0453c995b04a9defc8890bc688cf947b85db4a9d 100644
--- a/components/test_runner/web_frame_test_client.cc
+++ b/components/test_runner/web_frame_test_client.cc
@@ -730,19 +730,6 @@ blink::WebNavigationPolicy WebFrameTestClient::decidePolicyForNavigation(
return result;
}
-bool WebFrameTestClient::willCheckAndDispatchMessageEvent(
- blink::WebLocalFrame* source_frame,
- blink::WebFrame* target_frame,
- blink::WebSecurityOrigin target,
- blink::WebDOMMessageEvent event) {
- if (test_runner_->shouldInterceptPostMessage()) {
- delegate_->PrintMessage("intercepted postMessage\n");
- return true;
- }
-
- return false;
-}
-
void WebFrameTestClient::checkIfAudioSinkExistsAndIsAuthorized(
const blink::WebString& sink_id,
const blink::WebSecurityOrigin& security_origin,
« no previous file with comments | « components/test_runner/web_frame_test_client.h ('k') | components/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698