| OLD | NEW |
| (Empty) |
| 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 CHROMEOS_DISPLAY_TOUCHSCREEN_DELEGATE_X11_H_ | |
| 6 #define CHROMEOS_DISPLAY_TOUCHSCREEN_DELEGATE_X11_H_ | |
| 7 | |
| 8 #include "chromeos/display/output_configurator.h" | |
| 9 | |
| 10 struct _XDisplay; | |
| 11 typedef struct _XDisplay Display; | |
| 12 | |
| 13 namespace chromeos { | |
| 14 | |
| 15 class TouchscreenDelegateX11 : public OutputConfigurator::TouchscreenDelegate { | |
| 16 public: | |
| 17 TouchscreenDelegateX11(); | |
| 18 virtual ~TouchscreenDelegateX11(); | |
| 19 | |
| 20 // OutputConfigurator::TouchscreenDelegate implementation: | |
| 21 virtual void AssociateTouchscreens( | |
| 22 std::vector<OutputConfigurator::OutputSnapshot>* outputs) OVERRIDE; | |
| 23 virtual void ConfigureCTM( | |
| 24 int touch_device_id, | |
| 25 const OutputConfigurator::CoordinateTransformation& ctm) OVERRIDE; | |
| 26 | |
| 27 private: | |
| 28 Display* display_; | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateX11); | |
| 31 }; | |
| 32 | |
| 33 } // namespace chromeos | |
| 34 | |
| 35 #endif // CHROMEOS_DISPLAY_TOUCHSCREEN_DELEGATE_X11_H_ | |
| OLD | NEW |