#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "third_party/blink/public/mojom/drag/drag.mojom-blink.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/drag/drag.mojom-params-data.h"
#include "third_party/blink/public/mojom/drag/drag.mojom-shared-message-ids.h"
#include "third_party/blink/public/mojom/drag/drag.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/drag/drag.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
namespace blink::mojom::blink {
AllowedDragOperations::AllowedDragOperations()
: … { … }
AllowedDragOperations::AllowedDragOperations(
bool allow_copy_in,
bool allow_link_in,
bool allow_move_in)
: … { … }
AllowedDragOperations::~AllowedDragOperations() = default;
void AllowedDragOperations::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool AllowedDragOperations::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DragItemString::DragItemString()
: … { … }
DragItemString::DragItemString(
const WTF::String& string_type_in,
const ::WTF::String& string_data_in,
const ::WTF::String& title_in,
const std::optional<::blink::KURL>& base_url_in)
: … { … }
DragItemString::~DragItemString() = default;
void DragItemString::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DragItemString::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DragItemBinary::DragItemBinary()
: … { … }
DragItemBinary::DragItemBinary(
::mojo_base::BigBuffer data_in,
bool is_image_accessible_in,
const ::blink::KURL& source_url_in,
const ::base::FilePath& filename_extension_in,
const WTF::String& content_disposition_in)
: … { … }
DragItemBinary::~DragItemBinary() = default;
void DragItemBinary::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DragItemBinary::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DragItemFileSystemFile::DragItemFileSystemFile()
: … { … }
DragItemFileSystemFile::DragItemFileSystemFile(
const ::blink::KURL& url_in,
int64_t size_in,
const WTF::String& file_system_id_in,
const ::scoped_refptr<::blink::BlobDataHandle>& serialized_blob_in)
: … { … }
DragItemFileSystemFile::~DragItemFileSystemFile() = default;
void DragItemFileSystemFile::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DragItemFileSystemFile::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DragData::DragData()
: … { … }
DragData::DragData(
WTF::Vector<DragItemPtr> items_in,
const WTF::String& file_system_id_in,
bool force_default_action_in,
::network::mojom::blink::ReferrerPolicy referrer_policy_in)
: … { … }
DragData::~DragData() = default;
void DragData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DragData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DragEventSourceInfo::DragEventSourceInfo()
: … { … }
DragEventSourceInfo::DragEventSourceInfo(
const ::gfx::Point& location_in,
::ui::mojom::blink::DragEventSource source_in)
: … { … }
DragEventSourceInfo::~DragEventSourceInfo() = default;
void DragEventSourceInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DragEventSourceInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DragItem::DragItem() : … { … }
DragItem::~DragItem() { … }
void DragItem::set_string(
DragItemStringPtr string) { … }
void DragItem::set_file(
::blink::mojom::blink::DataTransferFilePtr file) { … }
void DragItem::set_binary(
DragItemBinaryPtr binary) { … }
void DragItem::set_file_system_file(
DragItemFileSystemFilePtr file_system_file) { … }
void DragItem::DestroyActive() { … }
bool DragItem::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
}
namespace mojo {
bool StructTraits<::blink::mojom::blink::AllowedDragOperations::DataView, ::blink::mojom::blink::AllowedDragOperationsPtr>::Read(
::blink::mojom::blink::AllowedDragOperations::DataView input,
::blink::mojom::blink::AllowedDragOperationsPtr* output) { … }
bool StructTraits<::blink::mojom::blink::DragItemString::DataView, ::blink::mojom::blink::DragItemStringPtr>::Read(
::blink::mojom::blink::DragItemString::DataView input,
::blink::mojom::blink::DragItemStringPtr* output) { … }
bool StructTraits<::blink::mojom::blink::DragItemBinary::DataView, ::blink::mojom::blink::DragItemBinaryPtr>::Read(
::blink::mojom::blink::DragItemBinary::DataView input,
::blink::mojom::blink::DragItemBinaryPtr* output) { … }
bool StructTraits<::blink::mojom::blink::DragItemFileSystemFile::DataView, ::blink::mojom::blink::DragItemFileSystemFilePtr>::Read(
::blink::mojom::blink::DragItemFileSystemFile::DataView input,
::blink::mojom::blink::DragItemFileSystemFilePtr* output) { … }
bool StructTraits<::blink::mojom::blink::DragData::DataView, ::blink::mojom::blink::DragDataPtr>::Read(
::blink::mojom::blink::DragData::DataView input,
::blink::mojom::blink::DragDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::DragEventSourceInfo::DataView, ::blink::mojom::blink::DragEventSourceInfoPtr>::Read(
::blink::mojom::blink::DragEventSourceInfo::DataView input,
::blink::mojom::blink::DragEventSourceInfoPtr* output) { … }
bool UnionTraits<::blink::mojom::blink::DragItem::DataView, ::blink::mojom::blink::DragItemPtr>::Read(
::blink::mojom::blink::DragItem::DataView input,
::blink::mojom::blink::DragItemPtr* output) { … }
}
namespace blink::mojom::blink {
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif