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. 4 5 #ifndef UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DEVICE_MANAGER_X11_H_ 6 #define UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DEVICE_MANAGER_X11_H_ 7 8 #include "base/macros.h" 9 #include "ui/display/types/chromeos/touchscreen_device_manager.h" 10 11 struct _XDisplay; 12 typedef struct _XDisplay Display; 13 14 namespace ui { 15 16 class TouchscreenDeviceManagerX11 : public TouchscreenDeviceManager { 17 public: 18 TouchscreenDeviceManagerX11(); 19 virtual ~TouchscreenDeviceManagerX11(); 20 21 // TouchscreenDeviceManager implementation: 22 virtual std::vector<TouchscreenDevice> GetDevices() OVERRIDE; 23 24 private: 25 Display* display_; 26 27 DISALLOW_COPY_AND_ASSIGN(TouchscreenDeviceManagerX11); 28 }; 29 30 } // namespace ui 31 32 #endif // UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DEVICE_MANAGER_X11_H_ 33