#ifndef UI_EVENTS_DEVICES_TOUCHSCREEN_DEVICE_H_
#define UI_EVENTS_DEVICES_TOUCHSCREEN_DEVICE_H_
#include <stdint.h>
#include <ostream>
#include <string>
#include "ui/display/types/display_constants.h"
#include "ui/events/devices/events_devices_export.h"
#include "ui/events/devices/input_device.h"
#include "ui/gfx/geometry/size.h"
namespace ui {
struct EVENTS_DEVICES_EXPORT TouchscreenDevice : public InputDevice {
TouchscreenDevice();
TouchscreenDevice(int id,
InputDeviceType type,
const std::string& name,
const gfx::Size& size,
int touch_points,
bool has_stylus = false,
bool has_stylus_garage_switch = false);
TouchscreenDevice(const InputDevice& input_device,
const gfx::Size& size,
int touch_points,
bool has_stylus = false,
bool has_stylus_garage_switch = false);
TouchscreenDevice(const TouchscreenDevice& other);
~TouchscreenDevice() override;
gfx::Size size;
int touch_points = 0;
bool has_stylus = false;
bool has_stylus_garage_switch = false;
int64_t target_display_id = display::kInvalidDisplayId;
std::ostream& DescribeForLog(std::ostream& os) const override;
};
}
#endif