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

Unified Diff: components/html_viewer/html_frame.h

Issue 1270313006: Connects PostMessage() for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows Created 5 years, 4 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
« no previous file with comments | « components/html_viewer/document_resource_waiter.cc ('k') | components/html_viewer/html_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_frame.h
diff --git a/components/html_viewer/html_frame.h b/components/html_viewer/html_frame.h
index ad2a806948b2bc6f7e6d7901c478a3636fb1216c..c4fc8257bf7015078183bb3b51b28aa47461ace2 100644
--- a/components/html_viewer/html_frame.h
+++ b/components/html_viewer/html_frame.h
@@ -197,6 +197,9 @@ class HTMLFrame : public blink::WebFrameClient,
void OnFrameClientPropertyChanged(uint32_t frame_id,
const mojo::String& name,
mojo::Array<uint8_t> new_value) override;
+ void PostMessage(uint32_t source_frame_id,
+ uint32_t target_frame_id,
+ mandoline::HTMLMessageEventPtr serialized_event) override;
// WebViewClient methods:
virtual blink::WebStorageNamespace* createSessionStorageNamespace();
@@ -251,8 +254,8 @@ class HTMLFrame : public blink::WebFrameClient,
// blink::WebRemoteFrameClient:
virtual void frameDetached(blink::WebRemoteFrameClient::DetachType type);
- virtual void postMessageEvent(blink::WebLocalFrame* source_frame,
- blink::WebRemoteFrame* target_frame,
+ virtual void postMessageEvent(blink::WebLocalFrame* source_web_frame,
+ blink::WebRemoteFrame* target_web_frame,
blink::WebSecurityOrigin target_origin,
blink::WebDOMMessageEvent event);
virtual void initializeChildFrame(const blink::WebRect& frame_rect,
« no previous file with comments | « components/html_viewer/document_resource_waiter.cc ('k') | components/html_viewer/html_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698