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

Unified Diff: public/web/WebDOMMessageEvent.h

Issue 1289033003: Start changing WebDOMMessageEvent for using target execution context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address code review 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 | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDOMMessageEvent.h
diff --git a/public/web/WebDOMMessageEvent.h b/public/web/WebDOMMessageEvent.h
index 5d8dc08f73a5d6a729e17d0366f1b32066982eb6..4a61e55a20a2fe8bfb27294dc3c69d8176590b88 100644
--- a/public/web/WebDOMMessageEvent.h
+++ b/public/web/WebDOMMessageEvent.h
@@ -47,6 +47,8 @@ class WebString;
class WebDOMMessageEvent : public WebDOMEvent {
public:
WebDOMMessageEvent() { }
+ BLINK_EXPORT void initMessageEvent(const WebString& type, bool canBubble, bool cancelable, const WebSerializedScriptValue& messageData, const WebString& origin, const WebFrame* sourceFrame, const WebDocument& targetDocument, const WebString& lastEventId, const WebMessagePortChannelArray& channels = WebMessagePortChannelArray());
dcheng 2015/08/18 16:46:54 Optional for this patch, but it'd be nice to intro
sgurun-gerrit only 2015/08/18 16:49:07 will add it as part of cleanup.
+ // DEPRECATED: Use the initMessageEvent method above. This method will be removed.
BLINK_EXPORT void initMessageEvent(const WebString& type, bool canBubble, bool cancelable, const WebSerializedScriptValue& messageData, const WebString& origin, const WebFrame* sourceFrame, const WebString& lastEventId, const WebMessagePortChannelArray& channels = WebMessagePortChannelArray());
BLINK_EXPORT WebSerializedScriptValue data() const;
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698