#include "ui/events/mojom/event_mojom_traits.h"
#include "base/time/time.h"
#include "mojo/public/cpp/base/time_mojom_traits.h"
#include "ui/events/event.h"
#include "ui/events/event_utils.h"
#include "ui/events/gesture_event_details.h"
#include "ui/events/ipc/ui_events_param_traits_macros.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/dom/keycode_converter.h"
#include "ui/events/mojom/event_constants.mojom.h"
#include "ui/latency/mojom/latency_info_mojom_traits.h"
namespace mojo {
namespace {
ui::mojom::LocationDataPtr CreateLocationData(const ui::LocatedEvent* event) { … }
bool ReadScrollData(ui::mojom::EventDataView* event,
base::TimeTicks time_stamp,
EventUniquePtr* out) { … }
bool ReadGestureData(ui::mojom::EventDataView* event,
base::TimeTicks time_stamp,
EventUniquePtr* out) { … }
}
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
ui::mojom::EventType TypeConverter<ui::mojom::EventType,
ui::EventType>::Convert(ui::EventType type) { … }
ui::EventType TypeConverter<ui::EventType, ui::mojom::EventType>::Convert(
ui::mojom::EventType type) { … }
ui::mojom::EventType
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::action(
const EventUniquePtr& event) { … }
int32_t StructTraits<ui::mojom::EventDataView, EventUniquePtr>::flags(
const EventUniquePtr& event) { … }
base::TimeTicks
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::time_stamp(
const EventUniquePtr& event) { … }
const ui::LatencyInfo&
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::latency(
const EventUniquePtr& event) { … }
ui::mojom::KeyDataPtr
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::key_data(
const EventUniquePtr& event) { … }
ui::mojom::MouseDataPtr
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::mouse_data(
const EventUniquePtr& event) { … }
ui::mojom::GestureDataPtr
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::gesture_data(
const EventUniquePtr& event) { … }
ui::mojom::ScrollDataPtr
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::scroll_data(
const EventUniquePtr& event) { … }
ui::mojom::TouchDataPtr
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::touch_data(
const EventUniquePtr& event) { … }
base::flat_map<std::string, std::vector<uint8_t>>
StructTraits<ui::mojom::EventDataView, EventUniquePtr>::properties(
const EventUniquePtr& event) { … }
bool StructTraits<ui::mojom::EventDataView, EventUniquePtr>::Read(
ui::mojom::EventDataView event,
EventUniquePtr* out) { … }
bool StructTraits<ui::mojom::PointerDetailsDataView, ui::PointerDetails>::Read(
ui::mojom::PointerDetailsDataView data,
ui::PointerDetails* out) { … }
}