diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/portal/html_portal_element.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/portal/html_portal_element.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/portal/html_portal_element.h b/chromium/third_party/blink/renderer/core/html/portal/html_portal_element.h index a2c1d190da5..37e6bab3729 100644 --- a/chromium/third_party/blink/renderer/core/html/portal/html_portal_element.h +++ b/chromium/third_party/blink/renderer/core/html/portal/html_portal_element.h @@ -23,6 +23,7 @@ namespace blink { class Document; class PortalActivateOptions; class PortalContents; +class PostMessageOptions; class ScriptState; // The HTMLPortalElement implements the <portal> HTML element. The portal @@ -54,12 +55,7 @@ class CORE_EXPORT HTMLPortalElement : public HTMLFrameOwnerElement { ScriptPromise activate(ScriptState*, PortalActivateOptions*, ExceptionState&); void postMessage(ScriptState* script_state, const ScriptValue& message, - const String& target_origin, - const HeapVector<ScriptValue>& transfer, - ExceptionState& exception_state); - void postMessage(ScriptState* script_state, - const ScriptValue& message, - const WindowPostMessageOptions* options, + const PostMessageOptions* options, ExceptionState& exception_state); EventListener* onmessage(); void setOnmessage(EventListener* listener); |