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

Unified Diff: android_webview/renderer/aw_message_port_client.h

Issue 869133005: Post a Message from Java to JS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: spelling fix Created 5 years, 11 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
Index: android_webview/renderer/aw_message_port_client.h
diff --git a/android_webview/renderer/aw_message_port_client.h b/android_webview/renderer/aw_message_port_client.h
index f3a337b24cc5d967d8208037b7458cbd1f04f27d..e83641e016e7c157e5f37e314cdb60cdb74886aa 100644
--- a/android_webview/renderer/aw_message_port_client.h
+++ b/android_webview/renderer/aw_message_port_client.h
@@ -24,9 +24,13 @@ class AwMessagePortClient : public content::RenderFrameObserver {
// RenderFrameObserver
bool OnMessageReceived(const IPC::Message& message) override;
- void OnPostMessage(int message_port_id,
- const base::string16& message,
- const std::vector<int>& sent_message_port_ids);
+ void OnWebToAppMessage(int message_port_id,
+ const base::string16& message,
+ const std::vector<int>& sent_message_port_ids);
+ void OnAppToWebMessage(int message_port_id,
+ const base::string16& message,
+ const std::vector<int>& sent_message_port_ids);
+
DISALLOW_COPY_AND_ASSIGN(AwMessagePortClient);
};
« no previous file with comments | « android_webview/native/aw_message_port_service_impl.cc ('k') | android_webview/renderer/aw_message_port_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698