Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / display / chromeos / x11 / touchscreen_delegate_x11.h
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_DELEGATE_X11_H_
6 #define UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_
7
8 #include "ui/display/chromeos/display_configurator.h"
9
10 struct _XDisplay;
11 typedef struct _XDisplay Display;
12
13 namespace ui {
14
15 class TouchscreenDelegateX11 : public DisplayConfigurator::TouchscreenDelegate {
16  public:
17   TouchscreenDelegateX11();
18   virtual ~TouchscreenDelegateX11();
19
20   // DisplayConfigurator::TouchscreenDelegate implementation:
21   virtual void AssociateTouchscreens(
22       DisplayConfigurator::DisplayStateList* outputs) OVERRIDE;
23   virtual void ConfigureCTM(
24       int touch_device_id,
25       const DisplayConfigurator::CoordinateTransformation& ctm) OVERRIDE;
26
27  private:
28   Display* display_;
29
30   DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateX11);
31 };
32
33 }  // namespace ui
34
35 #endif  // UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_