#include "ui/events/event.h"
#include "ui/events/event_constants.h"
#include "ui/events/event_utils.h"
#include "ui/events/types/event_type.h"
#include "ui/gfx/geometry/vector2d_f.h"
namespace ui {
base::TimeTicks EventTimeFromNative(const PlatformEvent& native_event) { … }
base::TimeTicks EventLatencyTimeFromNative(const PlatformEvent& native_event,
base::TimeTicks current_time) { … }
int EventFlagsFromNative(const PlatformEvent& native_event) { … }
EventType EventTypeFromNative(const PlatformEvent& native_event) { … }
gfx::Point EventSystemLocationFromNative(const PlatformEvent& native_event) { … }
gfx::PointF EventLocationFromNative(const PlatformEvent& native_event) { … }
int GetChangedMouseButtonFlagsFromNative(const PlatformEvent& native_event) { … }
PointerDetails GetMousePointerDetailsFromNative(
const PlatformEvent& native_event) { … }
const gfx::Vector2dF& GetMouseMovementFromNative(
const PlatformEvent& native_event) { … }
KeyboardCode KeyboardCodeFromNative(const PlatformEvent& native_event) { … }
DomCode CodeFromNative(const PlatformEvent& native_event) { … }
bool IsCharFromNative(const PlatformEvent& native_event) { … }
gfx::Vector2d GetMouseWheelOffset(const PlatformEvent& native_event) { … }
gfx::Vector2d GetMouseWheelTick120ths(const PlatformEvent& native_event) { … }
bool ShouldCopyPlatformEvents() { … }
PlatformEvent CreateInvalidPlatformEvent() { … }
bool IsPlatformEventValid(const PlatformEvent& event) { … }
PointerDetails GetTouchPointerDetailsFromNative(
const PlatformEvent& native_event) { … }
bool GetScrollOffsets(const PlatformEvent& native_event,
float* x_offset,
float* y_offset,
float* x_offset_ordinal,
float* y_offset_ordinal,
int* finger_count,
EventMomentumPhase* momentum_phase) { … }
bool GetFlingData(const PlatformEvent& native_event,
float* vx,
float* vy,
float* vx_ordinal,
float* vy_ordinal,
bool* is_cancel) { … }
}