Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 54bb4fccb1220bb5003e85d787660192f5a53560..6a022123ba4b31b670f84b17b41f74875e34edf5 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -1145,25 +1145,6 @@ long ContentViewCoreImpl::GetNativeImeAdapter(JNIEnv* env, jobject obj) { |
return rwhva->GetNativeImeAdapter(); |
} |
-// TODO(sgurun) add support for posting a frame whose name is known (only |
-// main frame is supported at this time, see crbug.com/389721) |
-// TODO(sgurun) add support for passing message ports |
-void ContentViewCoreImpl::PostMessageToFrame(JNIEnv* env, jobject obj, |
- jstring frame_name, jstring message, jstring source_origin, |
- jstring target_origin) { |
- |
- RenderViewHost* host = web_contents_->GetRenderViewHost(); |
- if (!host) |
- return; |
- ViewMsg_PostMessage_Params params; |
- params.source_origin = ConvertJavaStringToUTF16(env, source_origin); |
- params.target_origin = ConvertJavaStringToUTF16(env, target_origin); |
- params.data = ConvertJavaStringToUTF16(env, message); |
- params.is_data_raw_string = true; |
- params.source_routing_id = MSG_ROUTING_NONE; |
- host->Send(new ViewMsg_PostMessageEvent(host->GetRoutingID(), params)); |
-} |
- |
void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter, |
int text_input_type, |
int text_input_flags, |