5#ifndef FLUTTER_LIB_UI_WINDOW_POINTER_DATA_PACKET_CONVERTER_H_
6#define FLUTTER_LIB_UI_WINDOW_POINTER_DATA_PACKET_CONVERTER_H_
13#include "flutter/fml/macros.h"
14#include "flutter/lib/ui/window/pointer_data_packet.h"
122 std::map<int64_t, PointerState> states_;
124 int64_t pointer_ = 0;
127 std::vector<PointerData>& converted_pointers);
133 void UpdatePointerIdentifier(
PointerData& pointer_data,
135 bool start_new_pointer);
137 bool LocationNeedsUpdate(
const PointerData pointer_data,
virtual ~Delegate()=default
virtual bool ViewExists(int64_t view_id) const =0
~PointerDataPacketConverter()
PointerDataPacketConverter(const Delegate &delegate)
Create a PointerDataPacketConverter.
std::unique_ptr< PointerDataPacket > Convert(const PointerDataPacket &packet)
Converts pointer data packet into a form that framework understands. The raw pointer data packet from...
int64_t pointer_identifier