chromium/out/Default/gen/third_party/blink/public/mojom/input/input_handler.mojom.cc

// third_party/blink/public/mojom/input/input_handler.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "third_party/blink/public/mojom/input/input_handler.mojom.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/input/input_handler.mojom-params-data.h"
#include "third_party/blink/public/mojom/input/input_handler.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/input/input_handler.mojom-import-headers.h"
#include "third_party/blink/public/mojom/input/input_handler.mojom-test-utils.h"


namespace blink::mojom {
KeyData::KeyData()
    :{}

KeyData::KeyData(
    int32_t dom_key_in,
    int32_t dom_code_in,
    int32_t windows_key_code_in,
    int32_t native_key_code_in,
    bool is_system_key_in,
    bool is_browser_shortcut_in,
    const ::std::u16string& text_in,
    const ::std::u16string& unmodified_text_in)
    :{}

KeyData::~KeyData() = default;

void KeyData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool KeyData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PointerData::PointerData()
    :{}

PointerData::PointerData(
    int32_t pointer_id_in,
    float force_in,
    double tilt_x_in,
    double tilt_y_in,
    float tangential_pressure_in,
    int32_t twist_in,
    ::blink::mojom::Button button_in,
    ::ui::EventPointerType pointer_type_in,
    int32_t movement_x_in,
    int32_t movement_y_in,
    bool is_raw_movement_event_in,
    const ::gfx::PointF& widget_position_in,
    const ::gfx::PointF& screen_position_in,
    MouseDataPtr mouse_data_in,
    int32_t device_id_in)
    :{}

PointerData::~PointerData() = default;

void PointerData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PointerData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
WheelData::WheelData()
    :{}

WheelData::WheelData(
    float delta_x_in,
    float delta_y_in,
    float wheel_ticks_x_in,
    float wheel_ticks_y_in,
    float acceleration_ratio_x_in,
    float acceleration_ratio_y_in,
    uint8_t phase_in,
    uint8_t momentum_phase_in,
    ::blink::mojom::DispatchType cancelable_in,
    uint8_t event_action_in,
    uint8_t delta_units_in)
    :{}

WheelData::~WheelData() = default;
size_t WheelData::Hash(size_t seed) const {}

void WheelData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool WheelData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
MouseData::MouseData()
    :{}

MouseData::MouseData(
    int32_t click_count_in,
    WheelDataPtr wheel_data_in)
    :{}

MouseData::~MouseData() = default;

void MouseData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool MouseData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ScrollData::ScrollData()
    :{}

ScrollData::ScrollData(
    float delta_x_in,
    float delta_y_in,
    ::ui::ScrollGranularity delta_units_in,
    bool target_viewport_in,
    ::blink::mojom::InertialPhaseState inertial_phase_in,
    bool synthetic_in,
    int32_t pointer_count_in,
    bool cursor_control_in)
    :{}

ScrollData::~ScrollData() = default;

void ScrollData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ScrollData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PinchBeginData::PinchBeginData()
    :{}

PinchBeginData::PinchBeginData(
    bool needs_wheel_event_in)
    :{}

PinchBeginData::~PinchBeginData() = default;
size_t PinchBeginData::Hash(size_t seed) const {}

void PinchBeginData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PinchBeginData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PinchUpdateData::PinchUpdateData()
    :{}

PinchUpdateData::PinchUpdateData(
    float scale_in,
    bool zoom_disabled_in,
    bool needs_wheel_event_in)
    :{}

PinchUpdateData::~PinchUpdateData() = default;
size_t PinchUpdateData::Hash(size_t seed) const {}

void PinchUpdateData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PinchUpdateData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PinchEndData::PinchEndData()
    :{}

PinchEndData::PinchEndData(
    bool needs_wheel_event_in)
    :{}

PinchEndData::~PinchEndData() = default;
size_t PinchEndData::Hash(size_t seed) const {}

void PinchEndData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PinchEndData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
FlingData::FlingData()
    :{}

FlingData::FlingData(
    float velocity_x_in,
    float velocity_y_in,
    bool target_viewport_in,
    bool prevent_boosting_in)
    :{}

FlingData::~FlingData() = default;
size_t FlingData::Hash(size_t seed) const {}

void FlingData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool FlingData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TapData::TapData()
    :{}

TapData::TapData(
    int32_t tap_count_in,
    bool needs_wheel_event_in)
    :{}

TapData::~TapData() = default;
size_t TapData::Hash(size_t seed) const {}

void TapData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TapData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TapDownData::TapDownData()
    :{}

TapDownData::TapDownData(
    int32_t tap_down_count_in)
    :{}

TapDownData::~TapDownData() = default;
size_t TapDownData::Hash(size_t seed) const {}

void TapDownData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TapDownData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
GestureData::GestureData()
    :{}

GestureData::GestureData(
    const ::gfx::PointF& screen_position_in,
    const ::gfx::PointF& widget_position_in,
    ::blink::mojom::GestureDevice source_device_in,
    bool is_source_touch_event_set_blocking_in,
    ::ui::EventPointerType primary_pointer_type_in,
    int32_t primary_unique_touch_event_id_in,
    int32_t unique_touch_event_id_in,
    const std::optional<::gfx::Size>& contact_size_in,
    ScrollDataPtr scroll_data_in,
    PinchBeginDataPtr pinch_begin_data_in,
    PinchUpdateDataPtr pinch_update_data_in,
    PinchEndDataPtr pinch_end_data_in,
    TapDataPtr tap_data_in,
    TapDownDataPtr tap_down_data_in,
    FlingDataPtr fling_data_in)
    :{}

GestureData::~GestureData() = default;

void GestureData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool GestureData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TouchPoint::TouchPoint()
    :{}

TouchPoint::TouchPoint(
    ::blink::mojom::TouchState state_in,
    float radius_x_in,
    float radius_y_in,
    float rotation_angle_in,
    PointerDataPtr pointer_data_in)
    :{}

TouchPoint::~TouchPoint() = default;

void TouchPoint::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TouchPoint::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TouchData::TouchData()
    :{}

TouchData::TouchData(
    ::blink::mojom::DispatchType cancelable_in,
    bool moved_beyond_slop_region_in,
    bool touch_start_or_first_move_in,
    bool hovering_in,
    uint32_t unique_touch_event_id_in,
    std::vector<TouchPointPtr> touches_in)
    :{}

TouchData::~TouchData() = default;

void TouchData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TouchData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
Event::Event()
    :{}

Event::Event(
    ::blink::mojom::EventType type_in,
    int32_t modifiers_in,
    ::base::TimeTicks timestamp_in,
    const ::ui::LatencyInfo& latency_in,
    const ::ui::EventLatencyMetadata& event_latency_metadata_in,
    KeyDataPtr key_data_in,
    PointerDataPtr pointer_data_in,
    GestureDataPtr gesture_data_in,
    TouchDataPtr touch_data_in)
    :{}

Event::~Event() = default;

void Event::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Event::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
DidOverscrollParams::DidOverscrollParams()
    :{}

DidOverscrollParams::DidOverscrollParams(
    const ::gfx::Vector2dF& accumulated_overscroll_in,
    const ::gfx::Vector2dF& latest_overscroll_delta_in,
    const ::gfx::Vector2dF& current_fling_velocity_in,
    const ::gfx::PointF& causal_event_viewport_point_in,
    const ::cc::OverscrollBehavior& overscroll_behavior_in)
    :{}

DidOverscrollParams::~DidOverscrollParams() = default;

void DidOverscrollParams::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool DidOverscrollParams::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TouchActionOptional::TouchActionOptional()
    :{}

TouchActionOptional::TouchActionOptional(
    ::cc::TouchAction touch_action_in)
    :{}

TouchActionOptional::~TouchActionOptional() = default;

void TouchActionOptional::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TouchActionOptional::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
EditCommand::EditCommand()
    :{}

EditCommand::EditCommand(
    const std::string& name_in,
    const std::string& value_in)
    :{}

EditCommand::~EditCommand() = default;
size_t EditCommand::Hash(size_t seed) const {}

void EditCommand::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool EditCommand::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SelectAroundCaretResult::SelectAroundCaretResult()
    :{}

SelectAroundCaretResult::SelectAroundCaretResult(
    int32_t extended_start_adjust_in,
    int32_t extended_end_adjust_in,
    int32_t word_start_adjust_in,
    int32_t word_end_adjust_in)
    :{}

SelectAroundCaretResult::~SelectAroundCaretResult() = default;
size_t SelectAroundCaretResult::Hash(size_t seed) const {}

void SelectAroundCaretResult::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SelectAroundCaretResult::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char WidgetInputHandlerHost::Name_[] =;

WidgetInputHandlerHost::IPCStableHashFunction WidgetInputHandlerHost::MessageToMethodInfo_(mojo::Message& message) {}


const char* WidgetInputHandlerHost::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t WidgetInputHandlerHost::SetTouchActionFromMain_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::SetPanAction_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::DidOverscroll_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::DidStartScrollingViewport_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::ImeCancelComposition_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::ImeCompositionRangeChanged_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::SetMouseCapture_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::SetAutoscrollSelectionActiveInMainFrame_Sym::IPCStableHash() {}
uint32_t WidgetInputHandlerHost::RequestMouseLock_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class WidgetInputHandlerHost_RequestMouseLock_ForwardToCallback
    : public mojo::MessageReceiver {};

WidgetInputHandlerHostProxy::WidgetInputHandlerHostProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void WidgetInputHandlerHostProxy::SetTouchActionFromMain(
    ::cc::TouchAction in_touch_action) {}

void WidgetInputHandlerHostProxy::SetPanAction(
    PanAction in_pan_action) {}

void WidgetInputHandlerHostProxy::DidOverscroll(
    DidOverscrollParamsPtr in_params) {}

void WidgetInputHandlerHostProxy::DidStartScrollingViewport(
    ) {}

void WidgetInputHandlerHostProxy::ImeCancelComposition(
    ) {}

void WidgetInputHandlerHostProxy::ImeCompositionRangeChanged(
    const ::gfx::Range& in_range, const std::optional<std::vector<::gfx::Rect>>& in_character_bounds, const std::optional<std::vector<::gfx::Rect>>& in_line_bounds) {}

void WidgetInputHandlerHostProxy::SetMouseCapture(
    bool in_capture) {}

void WidgetInputHandlerHostProxy::SetAutoscrollSelectionActiveInMainFrame(
    bool in_autoscroll_selection) {}

void WidgetInputHandlerHostProxy::RequestMouseLock(
    bool in_from_user_gesture, bool in_unadjusted_movement, RequestMouseLockCallback callback) {}
class WidgetInputHandlerHost_RequestMouseLock_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WidgetInputHandlerHost_RequestMouseLock_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WidgetInputHandlerHost_RequestMouseLock_ProxyToResponder::Run(
    ::blink::mojom::PointerLockResult in_result, ::mojo::PendingRemote<::blink::mojom::PointerLockContext> in_context) {}

// static
bool WidgetInputHandlerHostStubDispatch::Accept(
    WidgetInputHandlerHost* impl,
    mojo::Message* message) {}

// static
bool WidgetInputHandlerHostStubDispatch::AcceptWithResponder(
    WidgetInputHandlerHost* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kWidgetInputHandlerHostValidationInfo[] =;

bool WidgetInputHandlerHostRequestValidator::Accept(mojo::Message* message) {}

bool WidgetInputHandlerHostResponseValidator::Accept(mojo::Message* message) {}
const char FrameWidgetInputHandler::Name_[] =;

FrameWidgetInputHandler::IPCStableHashFunction FrameWidgetInputHandler::MessageToMethodInfo_(mojo::Message& message) {}


const char* FrameWidgetInputHandler::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FrameWidgetInputHandler::AddImeTextSpansToExistingText_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::ClearImeTextSpansByType_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::SetCompositionFromExistingText_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::ExtendSelectionAndDelete_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::ExtendSelectionAndReplace_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::DeleteSurroundingText_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::DeleteSurroundingTextInCodePoints_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::SetEditableSelectionOffsets_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::HandleStylusWritingGestureAction_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::ExecuteEditCommand_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Undo_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Redo_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Cut_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Copy_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::CopyToFindPboard_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::CenterSelection_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Paste_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::PasteAndMatchStyle_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Delete_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::SelectAll_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::CollapseSelection_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::Replace_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::ReplaceMisspelling_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::SelectRange_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::AdjustSelectionByCharacterOffset_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::SelectAroundCaret_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::MoveRangeSelectionExtent_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::ScrollFocusedEditableNodeIntoView_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::WaitForPageScaleAnimationForTesting_Sym::IPCStableHash() {}
uint32_t FrameWidgetInputHandler::MoveCaret_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class FrameWidgetInputHandler_HandleStylusWritingGestureAction_ForwardToCallback
    : public mojo::MessageReceiver {};

class FrameWidgetInputHandler_SelectAroundCaret_ForwardToCallback
    : public mojo::MessageReceiver {};

class FrameWidgetInputHandler_WaitForPageScaleAnimationForTesting_ForwardToCallback
    : public mojo::MessageReceiver {};

FrameWidgetInputHandlerProxy::FrameWidgetInputHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void FrameWidgetInputHandlerProxy::AddImeTextSpansToExistingText(
    uint32_t in_start, uint32_t in_end, const std::vector<::ui::ImeTextSpan>& in_ime_text_spans) {}

void FrameWidgetInputHandlerProxy::ClearImeTextSpansByType(
    uint32_t in_start, uint32_t in_end, ::ui::ImeTextSpan::Type in_type) {}

void FrameWidgetInputHandlerProxy::SetCompositionFromExistingText(
    int32_t in_start, int32_t in_end, const std::vector<::ui::ImeTextSpan>& in_ime_text_spans) {}

void FrameWidgetInputHandlerProxy::ExtendSelectionAndDelete(
    int32_t in_before, int32_t in_after) {}

void FrameWidgetInputHandlerProxy::ExtendSelectionAndReplace(
    uint32_t in_before, uint32_t in_after, const ::std::u16string& in_replacement_text) {}

void FrameWidgetInputHandlerProxy::DeleteSurroundingText(
    int32_t in_before, int32_t in_after) {}

void FrameWidgetInputHandlerProxy::DeleteSurroundingTextInCodePoints(
    int32_t in_before, int32_t in_after) {}

void FrameWidgetInputHandlerProxy::SetEditableSelectionOffsets(
    int32_t in_start, int32_t in_end) {}

void FrameWidgetInputHandlerProxy::HandleStylusWritingGestureAction(
    ::blink::mojom::StylusWritingGestureDataPtr in_gesture_data, HandleStylusWritingGestureActionCallback callback) {}

void FrameWidgetInputHandlerProxy::ExecuteEditCommand(
    const std::string& in_command, const std::optional<::std::u16string>& in_value) {}

void FrameWidgetInputHandlerProxy::Undo(
    ) {}

void FrameWidgetInputHandlerProxy::Redo(
    ) {}

void FrameWidgetInputHandlerProxy::Cut(
    ) {}

void FrameWidgetInputHandlerProxy::Copy(
    ) {}

void FrameWidgetInputHandlerProxy::CopyToFindPboard(
    ) {}

void FrameWidgetInputHandlerProxy::CenterSelection(
    ) {}

void FrameWidgetInputHandlerProxy::Paste(
    ) {}

void FrameWidgetInputHandlerProxy::PasteAndMatchStyle(
    ) {}

void FrameWidgetInputHandlerProxy::Delete(
    ) {}

void FrameWidgetInputHandlerProxy::SelectAll(
    ) {}

void FrameWidgetInputHandlerProxy::CollapseSelection(
    ) {}

void FrameWidgetInputHandlerProxy::Replace(
    const ::std::u16string& in_word) {}

void FrameWidgetInputHandlerProxy::ReplaceMisspelling(
    const ::std::u16string& in_word) {}

void FrameWidgetInputHandlerProxy::SelectRange(
    const ::gfx::Point& in_base, const ::gfx::Point& in_extent) {}

void FrameWidgetInputHandlerProxy::AdjustSelectionByCharacterOffset(
    int32_t in_start, int32_t in_end, ::blink::mojom::SelectionMenuBehavior in_behavior) {}

void FrameWidgetInputHandlerProxy::SelectAroundCaret(
    SelectionGranularity in_granularity, bool in_should_show_handle, bool in_should_show_context_menu, SelectAroundCaretCallback callback) {}

void FrameWidgetInputHandlerProxy::MoveRangeSelectionExtent(
    const ::gfx::Point& in_extent) {}

void FrameWidgetInputHandlerProxy::ScrollFocusedEditableNodeIntoView(
    ) {}

void FrameWidgetInputHandlerProxy::WaitForPageScaleAnimationForTesting(
    WaitForPageScaleAnimationForTestingCallback callback) {}

void FrameWidgetInputHandlerProxy::MoveCaret(
    const ::gfx::Point& in_point) {}
class FrameWidgetInputHandler_HandleStylusWritingGestureAction_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FrameWidgetInputHandler_HandleStylusWritingGestureAction_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FrameWidgetInputHandler_HandleStylusWritingGestureAction_ProxyToResponder::Run(
    ::blink::mojom::HandwritingGestureResult in_result) {}
class FrameWidgetInputHandler_SelectAroundCaret_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FrameWidgetInputHandler_SelectAroundCaret_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FrameWidgetInputHandler_SelectAroundCaret_ProxyToResponder::Run(
    SelectAroundCaretResultPtr in_result) {}
class FrameWidgetInputHandler_WaitForPageScaleAnimationForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FrameWidgetInputHandler_WaitForPageScaleAnimationForTesting_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FrameWidgetInputHandler_WaitForPageScaleAnimationForTesting_ProxyToResponder::Run(
    ) {}

// static
bool FrameWidgetInputHandlerStubDispatch::Accept(
    FrameWidgetInputHandler* impl,
    mojo::Message* message) {}

// static
bool FrameWidgetInputHandlerStubDispatch::AcceptWithResponder(
    FrameWidgetInputHandler* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kFrameWidgetInputHandlerValidationInfo[] =;

bool FrameWidgetInputHandlerRequestValidator::Accept(mojo::Message* message) {}

bool FrameWidgetInputHandlerResponseValidator::Accept(mojo::Message* message) {}
const char WidgetInputHandler::Name_[] =;

WidgetInputHandler::IPCStableHashFunction WidgetInputHandler::MessageToMethodInfo_(mojo::Message& message) {}


const char* WidgetInputHandler::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t WidgetInputHandler::SetFocus_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::MouseCaptureLost_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::SetEditCommandsForNextKeyEvent_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::CursorVisibilityChanged_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::ImeSetComposition_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::ImeCommitText_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::ImeFinishComposingText_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::RequestTextInputStateUpdate_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::RequestCompositionUpdates_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::DispatchEvent_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::DispatchNonBlockingEvent_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::WaitForInputProcessed_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::GetFrameWidgetInputHandler_Sym::IPCStableHash() {}
uint32_t WidgetInputHandler::UpdateBrowserControlsState_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class WidgetInputHandler_ImeSetComposition_ForwardToCallback
    : public mojo::MessageReceiver {};

class WidgetInputHandler_ImeCommitText_ForwardToCallback
    : public mojo::MessageReceiver {};

class WidgetInputHandler_DispatchEvent_ForwardToCallback
    : public mojo::MessageReceiver {};

class WidgetInputHandler_WaitForInputProcessed_ForwardToCallback
    : public mojo::MessageReceiver {};

WidgetInputHandlerProxy::WidgetInputHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void WidgetInputHandlerProxy::SetFocus(
    FocusState in_state) {}

void WidgetInputHandlerProxy::MouseCaptureLost(
    ) {}

void WidgetInputHandlerProxy::SetEditCommandsForNextKeyEvent(
    std::vector<EditCommandPtr> in_commands) {}

void WidgetInputHandlerProxy::CursorVisibilityChanged(
    bool in_visible) {}

void WidgetInputHandlerProxy::ImeSetComposition(
    const ::std::u16string& in_text, const std::vector<::ui::ImeTextSpan>& in_ime_text_spans, const ::gfx::Range& in_range, int32_t in_start, int32_t in_end, ImeSetCompositionCallback callback) {}

void WidgetInputHandlerProxy::ImeCommitText(
    const ::std::u16string& in_text, const std::vector<::ui::ImeTextSpan>& in_ime_text_spans, const ::gfx::Range& in_range, int32_t in_relative_cursor_position, ImeCommitTextCallback callback) {}

void WidgetInputHandlerProxy::ImeFinishComposingText(
    bool in_keep_selection) {}

void WidgetInputHandlerProxy::RequestTextInputStateUpdate(
    ) {}

void WidgetInputHandlerProxy::RequestCompositionUpdates(
    bool in_immediate_request, bool in_monitor_request) {}

void WidgetInputHandlerProxy::DispatchEvent(
    ::std::unique_ptr<::blink::WebCoalescedInputEvent> in_event, DispatchEventCallback callback) {}

void WidgetInputHandlerProxy::DispatchNonBlockingEvent(
    ::std::unique_ptr<::blink::WebCoalescedInputEvent> in_event) {}

void WidgetInputHandlerProxy::WaitForInputProcessed(
    WaitForInputProcessedCallback callback) {}

void WidgetInputHandlerProxy::GetFrameWidgetInputHandler(
    ::mojo::PendingAssociatedReceiver<FrameWidgetInputHandler> in_interface_request) {}

void WidgetInputHandlerProxy::UpdateBrowserControlsState(
    ::cc::BrowserControlsState in_constraints, ::cc::BrowserControlsState in_current, bool in_animate, const std::optional<::cc::BrowserControlsOffsetTagsInfo>& in_offset_tags_info) {}
class WidgetInputHandler_ImeSetComposition_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WidgetInputHandler_ImeSetComposition_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WidgetInputHandler_ImeSetComposition_ProxyToResponder::Run(
    ) {}
class WidgetInputHandler_ImeCommitText_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WidgetInputHandler_ImeCommitText_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WidgetInputHandler_ImeCommitText_ProxyToResponder::Run(
    ) {}
class WidgetInputHandler_DispatchEvent_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WidgetInputHandler_DispatchEvent_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WidgetInputHandler_DispatchEvent_ProxyToResponder::Run(
    ::blink::mojom::InputEventResultSource in_source, const ::ui::LatencyInfo& in_updated_latency, ::blink::mojom::InputEventResultState in_state, DidOverscrollParamsPtr in_overscroll, TouchActionOptionalPtr in_touch_action) {}
class WidgetInputHandler_WaitForInputProcessed_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool WidgetInputHandler_WaitForInputProcessed_ForwardToCallback::Accept(
    mojo::Message* message) {}

void WidgetInputHandler_WaitForInputProcessed_ProxyToResponder::Run(
    ) {}

// static
bool WidgetInputHandlerStubDispatch::Accept(
    WidgetInputHandler* impl,
    mojo::Message* message) {}

// static
bool WidgetInputHandlerStubDispatch::AcceptWithResponder(
    WidgetInputHandler* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kWidgetInputHandlerValidationInfo[] =;

bool WidgetInputHandlerRequestValidator::Accept(mojo::Message* message) {}

bool WidgetInputHandlerResponseValidator::Accept(mojo::Message* message) {}


}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::KeyData::DataView, ::blink::mojom::KeyDataPtr>::Read(
    ::blink::mojom::KeyData::DataView input,
    ::blink::mojom::KeyDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::PointerData::DataView, ::blink::mojom::PointerDataPtr>::Read(
    ::blink::mojom::PointerData::DataView input,
    ::blink::mojom::PointerDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::WheelData::DataView, ::blink::mojom::WheelDataPtr>::Read(
    ::blink::mojom::WheelData::DataView input,
    ::blink::mojom::WheelDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::MouseData::DataView, ::blink::mojom::MouseDataPtr>::Read(
    ::blink::mojom::MouseData::DataView input,
    ::blink::mojom::MouseDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::ScrollData::DataView, ::blink::mojom::ScrollDataPtr>::Read(
    ::blink::mojom::ScrollData::DataView input,
    ::blink::mojom::ScrollDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::PinchBeginData::DataView, ::blink::mojom::PinchBeginDataPtr>::Read(
    ::blink::mojom::PinchBeginData::DataView input,
    ::blink::mojom::PinchBeginDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::PinchUpdateData::DataView, ::blink::mojom::PinchUpdateDataPtr>::Read(
    ::blink::mojom::PinchUpdateData::DataView input,
    ::blink::mojom::PinchUpdateDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::PinchEndData::DataView, ::blink::mojom::PinchEndDataPtr>::Read(
    ::blink::mojom::PinchEndData::DataView input,
    ::blink::mojom::PinchEndDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::FlingData::DataView, ::blink::mojom::FlingDataPtr>::Read(
    ::blink::mojom::FlingData::DataView input,
    ::blink::mojom::FlingDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::TapData::DataView, ::blink::mojom::TapDataPtr>::Read(
    ::blink::mojom::TapData::DataView input,
    ::blink::mojom::TapDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::TapDownData::DataView, ::blink::mojom::TapDownDataPtr>::Read(
    ::blink::mojom::TapDownData::DataView input,
    ::blink::mojom::TapDownDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::GestureData::DataView, ::blink::mojom::GestureDataPtr>::Read(
    ::blink::mojom::GestureData::DataView input,
    ::blink::mojom::GestureDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::TouchPoint::DataView, ::blink::mojom::TouchPointPtr>::Read(
    ::blink::mojom::TouchPoint::DataView input,
    ::blink::mojom::TouchPointPtr* output) {}


// static
bool StructTraits<::blink::mojom::TouchData::DataView, ::blink::mojom::TouchDataPtr>::Read(
    ::blink::mojom::TouchData::DataView input,
    ::blink::mojom::TouchDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::Event::DataView, ::blink::mojom::EventPtr>::Read(
    ::blink::mojom::Event::DataView input,
    ::blink::mojom::EventPtr* output) {}


// static
bool StructTraits<::blink::mojom::DidOverscrollParams::DataView, ::blink::mojom::DidOverscrollParamsPtr>::Read(
    ::blink::mojom::DidOverscrollParams::DataView input,
    ::blink::mojom::DidOverscrollParamsPtr* output) {}


// static
bool StructTraits<::blink::mojom::TouchActionOptional::DataView, ::blink::mojom::TouchActionOptionalPtr>::Read(
    ::blink::mojom::TouchActionOptional::DataView input,
    ::blink::mojom::TouchActionOptionalPtr* output) {}


// static
bool StructTraits<::blink::mojom::EditCommand::DataView, ::blink::mojom::EditCommandPtr>::Read(
    ::blink::mojom::EditCommand::DataView input,
    ::blink::mojom::EditCommandPtr* output) {}


// static
bool StructTraits<::blink::mojom::SelectAroundCaretResult::DataView, ::blink::mojom::SelectAroundCaretResultPtr>::Read(
    ::blink::mojom::SelectAroundCaretResult::DataView input,
    ::blink::mojom::SelectAroundCaretResultPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace blink::mojom {


void WidgetInputHandlerHostInterceptorForTesting::SetTouchActionFromMain(::cc::TouchAction touch_action) {}
void WidgetInputHandlerHostInterceptorForTesting::SetPanAction(PanAction pan_action) {}
void WidgetInputHandlerHostInterceptorForTesting::DidOverscroll(DidOverscrollParamsPtr params) {}
void WidgetInputHandlerHostInterceptorForTesting::DidStartScrollingViewport() {}
void WidgetInputHandlerHostInterceptorForTesting::ImeCancelComposition() {}
void WidgetInputHandlerHostInterceptorForTesting::ImeCompositionRangeChanged(const ::gfx::Range& range, const std::optional<std::vector<::gfx::Rect>>& character_bounds, const std::optional<std::vector<::gfx::Rect>>& line_bounds) {}
void WidgetInputHandlerHostInterceptorForTesting::SetMouseCapture(bool capture) {}
void WidgetInputHandlerHostInterceptorForTesting::SetAutoscrollSelectionActiveInMainFrame(bool autoscroll_selection) {}
void WidgetInputHandlerHostInterceptorForTesting::RequestMouseLock(bool from_user_gesture, bool unadjusted_movement, RequestMouseLockCallback callback) {}
WidgetInputHandlerHostAsyncWaiter::WidgetInputHandlerHostAsyncWaiter(
    WidgetInputHandlerHost* proxy) :{}

WidgetInputHandlerHostAsyncWaiter::~WidgetInputHandlerHostAsyncWaiter() = default;

void WidgetInputHandlerHostAsyncWaiter::RequestMouseLock(
    bool from_user_gesture, bool unadjusted_movement, ::blink::mojom::PointerLockResult* out_result, ::mojo::PendingRemote<::blink::mojom::PointerLockContext>* out_context) {}






void FrameWidgetInputHandlerInterceptorForTesting::AddImeTextSpansToExistingText(uint32_t start, uint32_t end, const std::vector<::ui::ImeTextSpan>& ime_text_spans) {}
void FrameWidgetInputHandlerInterceptorForTesting::ClearImeTextSpansByType(uint32_t start, uint32_t end, ::ui::ImeTextSpan::Type type) {}
void FrameWidgetInputHandlerInterceptorForTesting::SetCompositionFromExistingText(int32_t start, int32_t end, const std::vector<::ui::ImeTextSpan>& ime_text_spans) {}
void FrameWidgetInputHandlerInterceptorForTesting::ExtendSelectionAndDelete(int32_t before, int32_t after) {}
void FrameWidgetInputHandlerInterceptorForTesting::ExtendSelectionAndReplace(uint32_t before, uint32_t after, const ::std::u16string& replacement_text) {}
void FrameWidgetInputHandlerInterceptorForTesting::DeleteSurroundingText(int32_t before, int32_t after) {}
void FrameWidgetInputHandlerInterceptorForTesting::DeleteSurroundingTextInCodePoints(int32_t before, int32_t after) {}
void FrameWidgetInputHandlerInterceptorForTesting::SetEditableSelectionOffsets(int32_t start, int32_t end) {}
void FrameWidgetInputHandlerInterceptorForTesting::HandleStylusWritingGestureAction(::blink::mojom::StylusWritingGestureDataPtr gesture_data, HandleStylusWritingGestureActionCallback callback) {}
void FrameWidgetInputHandlerInterceptorForTesting::ExecuteEditCommand(const std::string& command, const std::optional<::std::u16string>& value) {}
void FrameWidgetInputHandlerInterceptorForTesting::Undo() {}
void FrameWidgetInputHandlerInterceptorForTesting::Redo() {}
void FrameWidgetInputHandlerInterceptorForTesting::Cut() {}
void FrameWidgetInputHandlerInterceptorForTesting::Copy() {}
void FrameWidgetInputHandlerInterceptorForTesting::CopyToFindPboard() {}
void FrameWidgetInputHandlerInterceptorForTesting::CenterSelection() {}
void FrameWidgetInputHandlerInterceptorForTesting::Paste() {}
void FrameWidgetInputHandlerInterceptorForTesting::PasteAndMatchStyle() {}
void FrameWidgetInputHandlerInterceptorForTesting::Delete() {}
void FrameWidgetInputHandlerInterceptorForTesting::SelectAll() {}
void FrameWidgetInputHandlerInterceptorForTesting::CollapseSelection() {}
void FrameWidgetInputHandlerInterceptorForTesting::Replace(const ::std::u16string& word) {}
void FrameWidgetInputHandlerInterceptorForTesting::ReplaceMisspelling(const ::std::u16string& word) {}
void FrameWidgetInputHandlerInterceptorForTesting::SelectRange(const ::gfx::Point& base, const ::gfx::Point& extent) {}
void FrameWidgetInputHandlerInterceptorForTesting::AdjustSelectionByCharacterOffset(int32_t start, int32_t end, ::blink::mojom::SelectionMenuBehavior behavior) {}
void FrameWidgetInputHandlerInterceptorForTesting::SelectAroundCaret(SelectionGranularity granularity, bool should_show_handle, bool should_show_context_menu, SelectAroundCaretCallback callback) {}
void FrameWidgetInputHandlerInterceptorForTesting::MoveRangeSelectionExtent(const ::gfx::Point& extent) {}
void FrameWidgetInputHandlerInterceptorForTesting::ScrollFocusedEditableNodeIntoView() {}
void FrameWidgetInputHandlerInterceptorForTesting::WaitForPageScaleAnimationForTesting(WaitForPageScaleAnimationForTestingCallback callback) {}
void FrameWidgetInputHandlerInterceptorForTesting::MoveCaret(const ::gfx::Point& point) {}
FrameWidgetInputHandlerAsyncWaiter::FrameWidgetInputHandlerAsyncWaiter(
    FrameWidgetInputHandler* proxy) :{}

FrameWidgetInputHandlerAsyncWaiter::~FrameWidgetInputHandlerAsyncWaiter() = default;

void FrameWidgetInputHandlerAsyncWaiter::HandleStylusWritingGestureAction(
    ::blink::mojom::StylusWritingGestureDataPtr gesture_data, ::blink::mojom::HandwritingGestureResult* out_result) {}

::blink::mojom::HandwritingGestureResult FrameWidgetInputHandlerAsyncWaiter::HandleStylusWritingGestureAction(
    ::blink::mojom::StylusWritingGestureDataPtr gesture_data) {}

void FrameWidgetInputHandlerAsyncWaiter::SelectAroundCaret(
    SelectionGranularity granularity, bool should_show_handle, bool should_show_context_menu, SelectAroundCaretResultPtr* out_result) {}

SelectAroundCaretResultPtr FrameWidgetInputHandlerAsyncWaiter::SelectAroundCaret(
    SelectionGranularity granularity, bool should_show_handle, bool should_show_context_menu) {}

void FrameWidgetInputHandlerAsyncWaiter::WaitForPageScaleAnimationForTesting(
    ) {}






void WidgetInputHandlerInterceptorForTesting::SetFocus(FocusState state) {}
void WidgetInputHandlerInterceptorForTesting::MouseCaptureLost() {}
void WidgetInputHandlerInterceptorForTesting::SetEditCommandsForNextKeyEvent(std::vector<EditCommandPtr> commands) {}
void WidgetInputHandlerInterceptorForTesting::CursorVisibilityChanged(bool visible) {}
void WidgetInputHandlerInterceptorForTesting::ImeSetComposition(const ::std::u16string& text, const std::vector<::ui::ImeTextSpan>& ime_text_spans, const ::gfx::Range& range, int32_t start, int32_t end, ImeSetCompositionCallback callback) {}
void WidgetInputHandlerInterceptorForTesting::ImeCommitText(const ::std::u16string& text, const std::vector<::ui::ImeTextSpan>& ime_text_spans, const ::gfx::Range& range, int32_t relative_cursor_position, ImeCommitTextCallback callback) {}
void WidgetInputHandlerInterceptorForTesting::ImeFinishComposingText(bool keep_selection) {}
void WidgetInputHandlerInterceptorForTesting::RequestTextInputStateUpdate() {}
void WidgetInputHandlerInterceptorForTesting::RequestCompositionUpdates(bool immediate_request, bool monitor_request) {}
void WidgetInputHandlerInterceptorForTesting::DispatchEvent(::std::unique_ptr<::blink::WebCoalescedInputEvent> event, DispatchEventCallback callback) {}
void WidgetInputHandlerInterceptorForTesting::DispatchNonBlockingEvent(::std::unique_ptr<::blink::WebCoalescedInputEvent> event) {}
void WidgetInputHandlerInterceptorForTesting::WaitForInputProcessed(WaitForInputProcessedCallback callback) {}
void WidgetInputHandlerInterceptorForTesting::GetFrameWidgetInputHandler(::mojo::PendingAssociatedReceiver<FrameWidgetInputHandler> interface_request) {}
void WidgetInputHandlerInterceptorForTesting::UpdateBrowserControlsState(::cc::BrowserControlsState constraints, ::cc::BrowserControlsState current, bool animate, const std::optional<::cc::BrowserControlsOffsetTagsInfo>& offset_tags_info) {}
WidgetInputHandlerAsyncWaiter::WidgetInputHandlerAsyncWaiter(
    WidgetInputHandler* proxy) :{}

WidgetInputHandlerAsyncWaiter::~WidgetInputHandlerAsyncWaiter() = default;

void WidgetInputHandlerAsyncWaiter::ImeSetComposition(
    const ::std::u16string& text, const std::vector<::ui::ImeTextSpan>& ime_text_spans, const ::gfx::Range& range, int32_t start, int32_t end) {}



void WidgetInputHandlerAsyncWaiter::ImeCommitText(
    const ::std::u16string& text, const std::vector<::ui::ImeTextSpan>& ime_text_spans, const ::gfx::Range& range, int32_t relative_cursor_position) {}



void WidgetInputHandlerAsyncWaiter::DispatchEvent(
    ::std::unique_ptr<::blink::WebCoalescedInputEvent> event, ::blink::mojom::InputEventResultSource* out_source, ::ui::LatencyInfo* out_updated_latency, ::blink::mojom::InputEventResultState* out_state, DidOverscrollParamsPtr* out_overscroll, TouchActionOptionalPtr* out_touch_action) {}



void WidgetInputHandlerAsyncWaiter::WaitForInputProcessed(
    ) {}








}  // blink::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif