1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/events/devices/touchscreen_device.h"
9 #include "ui/events/devices/input_device.h"
13 TouchscreenDevice::TouchscreenDevice() : touch_points(0) {
16 TouchscreenDevice::TouchscreenDevice(int id
,
18 const std::string
& name
,
19 const gfx::Size
& size
,
21 : InputDevice(id
, type
, name
), size(size
), touch_points(touch_points
) {
24 TouchscreenDevice::TouchscreenDevice(const InputDevice
& input_device
,
25 const gfx::Size
& size
,
27 : InputDevice(input_device
), size(size
), touch_points(touch_points
) {