diff options
| author | Selim Gurun <sgurun@google.com> | 2015-05-15 11:02:45 -0700 |
|---|---|---|
| committer | Selim Gurun <sgurun@google.com> | 2015-05-15 11:02:45 -0700 |
| commit | 26de90aa2e2b2de10f489511038e119af331ca02 (patch) | |
| tree | 7a1ffd665336dfebb376888d513c733006515940 /core/java/android/webkit/WebView.java | |
| parent | b3fa8bf221c239ebce7f5cdfd33dadcda9f137b3 (diff) | |
| download | frameworks_base-26de90aa2e2b2de10f489511038e119af331ca02.zip frameworks_base-26de90aa2e2b2de10f489511038e119af331ca02.tar.gz frameworks_base-26de90aa2e2b2de10f489511038e119af331ca02.tar.bz2 | |
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
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
