#include "third_party/blink/renderer/bindings/core/v8/serialization/post_message_helper.h"
#include "third_party/blink/public/mojom/messaging/user_activation_snapshot.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_post_message_options.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_structured_serialize_options.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_window_post_message_options.h"
#include "third_party/blink/renderer/core/frame/frame.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/imagebitmap/image_bitmap.h"
namespace blink {
scoped_refptr<SerializedScriptValue> PostMessageHelper::SerializeMessageByMove(
v8::Isolate* isolate,
const ScriptValue& message,
const StructuredSerializeOptions* options,
Transferables& transferables,
ExceptionState& exception_state) { … }
scoped_refptr<SerializedScriptValue> PostMessageHelper::SerializeMessageByCopy(
v8::Isolate* isolate,
const ScriptValue& message,
const StructuredSerializeOptions* options,
Transferables& transferables,
ExceptionState& exception_state) { … }
mojom::blink::UserActivationSnapshotPtr
PostMessageHelper::CreateUserActivationSnapshot(
ExecutionContext* execution_context,
const PostMessageOptions* options) { … }
scoped_refptr<const SecurityOrigin> PostMessageHelper::GetTargetOrigin(
const WindowPostMessageOptions* options,
const ExecutionContext& context,
ExceptionState& exception_state) { … }
}