MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / ui / events / devices / touchscreen_device.cc
blob9d7276c7b5cf9b757e957ea1caa3dc25c8952b43
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"
7 #include <string>
9 #include "ui/events/devices/input_device.h"
11 namespace ui {
13 TouchscreenDevice::TouchscreenDevice() : touch_points(0) {
16 TouchscreenDevice::TouchscreenDevice(int id,
17 InputDeviceType type,
18 const std::string& name,
19 const gfx::Size& size,
20 int touch_points)
21 : InputDevice(id, type, name), size(size), touch_points(touch_points) {
24 TouchscreenDevice::TouchscreenDevice(const InputDevice& input_device,
25 const gfx::Size& size,
26 int touch_points)
27 : InputDevice(input_device), size(size), touch_points(touch_points) {
30 } // namespace ui