Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
index f3a1da8075085b2ef5df4884041e005c68163f85..1fde3997f52267a153ed2d816475e67a4c3eca28 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
@@ -1170,23 +1170,6 @@ public class ContentViewCore |
} |
/** |
- * Post a message to a frame. |
- * TODO(sgurun) also add support for transferring a message channel port. |
- * |
- * @param frameName The name of the frame. If the name is null the message is posted |
- * to the main frame. |
- * @param message The message |
- * @param sourceOrigin The source origin |
- * @param targetOrigin The target origin |
- */ |
- public void postMessageToFrame(String frameName, String message, |
- String sourceOrigin, String targetOrigin) { |
- if (mNativeContentViewCore == 0) return; |
- nativePostMessageToFrame(mNativeContentViewCore, frameName, message, sourceOrigin, |
- targetOrigin); |
- } |
- |
- /** |
* To be called when the ContentView is shown. |
*/ |
public void onShow() { |
@@ -2908,9 +2891,6 @@ public class ContentViewCore |
long nativeSelectPopupSourceFrame, int[] indices); |
- private native void nativePostMessageToFrame(long nativeContentViewCoreImpl, String frameId, |
- String message, String sourceOrigin, String targetOrigin); |
- |
private native long nativeGetNativeImeAdapter(long nativeContentViewCoreImpl); |
private native int nativeGetCurrentRenderProcessId(long nativeContentViewCoreImpl); |