From 26de90aa2e2b2de10f489511038e119af331ca02 Mon Sep 17 00:00:00 2001 From: Selim Gurun Date: Fri, 15 May 2015 11:02:45 -0700 Subject: Rename PostMessageToMainFrame to PostWebMessage Bug: 20557074 There is no need to keep the name PostMessageToMainFrame since we may choose to not implement the special condition to posting to a named subframe. And if we want, we can do this by overloading the function. Change-Id: I9896ad479e1c30cda500352cfdb1b7d336383568 --- core/java/android/webkit/WebView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/webkit/WebView.java') diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 92615f3..ccb98b4 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1863,7 +1863,7 @@ public class WebView extends AbsoluteLayout * practices, the user should not specify a wildcard (*) when * specifying the origin. */ - public void postMessageToMainFrame(WebMessage message, Uri targetOrigin) { + public void postWebMessage(WebMessage message, Uri targetOrigin) { checkThread(); mProvider.postMessageToMainFrame(message, targetOrigin); } -- cgit v1.1