MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / ui / events / touchscreen_device.h
blobd281a0b8fe6717ae396b2fbbd2797e9635da44ae
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 #ifndef UI_EVENTS_TOUCHSCREEN_DEVICE_H_
6 #define UI_EVENTS_TOUCHSCREEN_DEVICE_H_
8 #include <string>
10 #include "ui/events/events_base_export.h"
11 #include "ui/events/input_device.h"
12 #include "ui/gfx/geometry/size.h"
14 namespace ui {
16 // Represents a Touchscreen device state.
17 struct EVENTS_BASE_EXPORT TouchscreenDevice : public InputDevice {
18 TouchscreenDevice(int id,
19 InputDeviceType type,
20 const std::string& name,
21 const gfx::Size& size);
23 // Size of the touch screen area.
24 gfx::Size size;
27 } // namespace ui
29 #endif // UI_EVENTS_TOUCHSCREEN_DEVICE_H_