#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-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/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-blink-import-headers.h"
#include "third_party/blink/public/mojom/input/input_handler.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
namespace blink::mojom::blink {
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 ::WTF::String& text_in,
const ::WTF::String& 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::blink::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::blink::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::blink::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::blink::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::blink::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::blink::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,
WTF::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::blink::EventType type_in,
int32_t modifiers_in,
::base::TimeTicks timestamp_in,
const ::ui::LatencyInfo& latency_in,
::ui::mojom::blink::EventLatencyMetadataPtr 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 WTF::String& name_in,
const WTF::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
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<WTF::Vector<::gfx::Rect>>& in_character_bounds, const std::optional<WTF::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::blink::PointerLockResult in_result, ::mojo::PendingRemote<::blink::mojom::blink::PointerLockContext> in_context) { … }
bool WidgetInputHandlerHostStubDispatch::Accept(
WidgetInputHandlerHost* impl,
mojo::Message* message) { … }
bool WidgetInputHandlerHostStubDispatch::AcceptWithResponder(
WidgetInputHandlerHost* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
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
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 WTF::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 WTF::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 ::WTF::String& 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::blink::StylusWritingGestureDataPtr in_gesture_data, HandleStylusWritingGestureActionCallback callback) { … }
void FrameWidgetInputHandlerProxy::ExecuteEditCommand(
const WTF::String& in_command, const ::WTF::String& 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 ::WTF::String& in_word) { … }
void FrameWidgetInputHandlerProxy::ReplaceMisspelling(
const ::WTF::String& 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::blink::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::blink::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(
) { … }
bool FrameWidgetInputHandlerStubDispatch::Accept(
FrameWidgetInputHandler* impl,
mojo::Message* message) { … }
bool FrameWidgetInputHandlerStubDispatch::AcceptWithResponder(
FrameWidgetInputHandler* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
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
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(
WTF::Vector<EditCommandPtr> in_commands) { … }
void WidgetInputHandlerProxy::CursorVisibilityChanged(
bool in_visible) { … }
void WidgetInputHandlerProxy::ImeSetComposition(
const ::WTF::String& in_text, const WTF::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 ::WTF::String& in_text, const WTF::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::blink::InputEventResultSource in_source, const ::ui::LatencyInfo& in_updated_latency, ::blink::mojom::blink::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(
) { … }
bool WidgetInputHandlerStubDispatch::Accept(
WidgetInputHandler* impl,
mojo::Message* message) { … }
bool WidgetInputHandlerStubDispatch::AcceptWithResponder(
WidgetInputHandler* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kWidgetInputHandlerValidationInfo[] = …;
bool WidgetInputHandlerRequestValidator::Accept(mojo::Message* message) { … }
bool WidgetInputHandlerResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::blink::mojom::blink::KeyData::DataView, ::blink::mojom::blink::KeyDataPtr>::Read(
::blink::mojom::blink::KeyData::DataView input,
::blink::mojom::blink::KeyDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::PointerData::DataView, ::blink::mojom::blink::PointerDataPtr>::Read(
::blink::mojom::blink::PointerData::DataView input,
::blink::mojom::blink::PointerDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::WheelData::DataView, ::blink::mojom::blink::WheelDataPtr>::Read(
::blink::mojom::blink::WheelData::DataView input,
::blink::mojom::blink::WheelDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::MouseData::DataView, ::blink::mojom::blink::MouseDataPtr>::Read(
::blink::mojom::blink::MouseData::DataView input,
::blink::mojom::blink::MouseDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::ScrollData::DataView, ::blink::mojom::blink::ScrollDataPtr>::Read(
::blink::mojom::blink::ScrollData::DataView input,
::blink::mojom::blink::ScrollDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::PinchBeginData::DataView, ::blink::mojom::blink::PinchBeginDataPtr>::Read(
::blink::mojom::blink::PinchBeginData::DataView input,
::blink::mojom::blink::PinchBeginDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::PinchUpdateData::DataView, ::blink::mojom::blink::PinchUpdateDataPtr>::Read(
::blink::mojom::blink::PinchUpdateData::DataView input,
::blink::mojom::blink::PinchUpdateDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::PinchEndData::DataView, ::blink::mojom::blink::PinchEndDataPtr>::Read(
::blink::mojom::blink::PinchEndData::DataView input,
::blink::mojom::blink::PinchEndDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::FlingData::DataView, ::blink::mojom::blink::FlingDataPtr>::Read(
::blink::mojom::blink::FlingData::DataView input,
::blink::mojom::blink::FlingDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::TapData::DataView, ::blink::mojom::blink::TapDataPtr>::Read(
::blink::mojom::blink::TapData::DataView input,
::blink::mojom::blink::TapDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::TapDownData::DataView, ::blink::mojom::blink::TapDownDataPtr>::Read(
::blink::mojom::blink::TapDownData::DataView input,
::blink::mojom::blink::TapDownDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::GestureData::DataView, ::blink::mojom::blink::GestureDataPtr>::Read(
::blink::mojom::blink::GestureData::DataView input,
::blink::mojom::blink::GestureDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::TouchPoint::DataView, ::blink::mojom::blink::TouchPointPtr>::Read(
::blink::mojom::blink::TouchPoint::DataView input,
::blink::mojom::blink::TouchPointPtr* output) { … }
bool StructTraits<::blink::mojom::blink::TouchData::DataView, ::blink::mojom::blink::TouchDataPtr>::Read(
::blink::mojom::blink::TouchData::DataView input,
::blink::mojom::blink::TouchDataPtr* output) { … }
bool StructTraits<::blink::mojom::blink::Event::DataView, ::blink::mojom::blink::EventPtr>::Read(
::blink::mojom::blink::Event::DataView input,
::blink::mojom::blink::EventPtr* output) { … }
bool StructTraits<::blink::mojom::blink::DidOverscrollParams::DataView, ::blink::mojom::blink::DidOverscrollParamsPtr>::Read(
::blink::mojom::blink::DidOverscrollParams::DataView input,
::blink::mojom::blink::DidOverscrollParamsPtr* output) { … }
bool StructTraits<::blink::mojom::blink::TouchActionOptional::DataView, ::blink::mojom::blink::TouchActionOptionalPtr>::Read(
::blink::mojom::blink::TouchActionOptional::DataView input,
::blink::mojom::blink::TouchActionOptionalPtr* output) { … }
bool StructTraits<::blink::mojom::blink::EditCommand::DataView, ::blink::mojom::blink::EditCommandPtr>::Read(
::blink::mojom::blink::EditCommand::DataView input,
::blink::mojom::blink::EditCommandPtr* output) { … }
bool StructTraits<::blink::mojom::blink::SelectAroundCaretResult::DataView, ::blink::mojom::blink::SelectAroundCaretResultPtr>::Read(
::blink::mojom::blink::SelectAroundCaretResult::DataView input,
::blink::mojom::blink::SelectAroundCaretResultPtr* output) { … }
}
namespace blink::mojom::blink {
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<WTF::Vector<::gfx::Rect>>& character_bounds, const std::optional<WTF::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::blink::PointerLockResult* out_result, ::mojo::PendingRemote<::blink::mojom::blink::PointerLockContext>* out_context) { … }
void FrameWidgetInputHandlerInterceptorForTesting::AddImeTextSpansToExistingText(uint32_t start, uint32_t end, const WTF::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 WTF::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 ::WTF::String& 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::blink::StylusWritingGestureDataPtr gesture_data, HandleStylusWritingGestureActionCallback callback) { … }
void FrameWidgetInputHandlerInterceptorForTesting::ExecuteEditCommand(const WTF::String& command, const ::WTF::String& 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 ::WTF::String& word) { … }
void FrameWidgetInputHandlerInterceptorForTesting::ReplaceMisspelling(const ::WTF::String& word) { … }
void FrameWidgetInputHandlerInterceptorForTesting::SelectRange(const ::gfx::Point& base, const ::gfx::Point& extent) { … }
void FrameWidgetInputHandlerInterceptorForTesting::AdjustSelectionByCharacterOffset(int32_t start, int32_t end, ::blink::mojom::blink::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::blink::StylusWritingGestureDataPtr gesture_data, ::blink::mojom::blink::HandwritingGestureResult* out_result) { … }
::blink::mojom::blink::HandwritingGestureResult FrameWidgetInputHandlerAsyncWaiter::HandleStylusWritingGestureAction(
::blink::mojom::blink::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(WTF::Vector<EditCommandPtr> commands) { … }
void WidgetInputHandlerInterceptorForTesting::CursorVisibilityChanged(bool visible) { … }
void WidgetInputHandlerInterceptorForTesting::ImeSetComposition(const ::WTF::String& text, const WTF::Vector<::ui::ImeTextSpan>& ime_text_spans, const ::gfx::Range& range, int32_t start, int32_t end, ImeSetCompositionCallback callback) { … }
void WidgetInputHandlerInterceptorForTesting::ImeCommitText(const ::WTF::String& text, const WTF::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 ::WTF::String& text, const WTF::Vector<::ui::ImeTextSpan>& ime_text_spans, const ::gfx::Range& range, int32_t start, int32_t end) { … }
void WidgetInputHandlerAsyncWaiter::ImeCommitText(
const ::WTF::String& text, const WTF::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::blink::InputEventResultSource* out_source, ::ui::LatencyInfo* out_updated_latency, ::blink::mojom::blink::InputEventResultState* out_state, DidOverscrollParamsPtr* out_overscroll, TouchActionOptionalPtr* out_touch_action) { … }
void WidgetInputHandlerAsyncWaiter::WaitForInputProcessed(
) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif