Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: ui/display/chromeos/x11/touchscreen_delegate_x11.h

Issue 280833002: Re-land "Issue 191223007: Move touch CTM from X into Chrome" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: adding missing file again Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_
6 #define UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_ 6 #define UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_
7 7
8 #include "ui/display/chromeos/display_configurator.h" 8 #include "ui/display/chromeos/display_configurator.h"
9 9
10 struct _XDisplay; 10 struct _XDisplay;
11 typedef struct _XDisplay Display; 11 typedef struct _XDisplay Display;
12 12
13 namespace ui { 13 namespace ui {
14 14
15 class TouchscreenDelegateX11 : public DisplayConfigurator::TouchscreenDelegate { 15 class TouchscreenDelegateX11 : public DisplayConfigurator::TouchscreenDelegate {
16 public: 16 public:
17 TouchscreenDelegateX11(); 17 TouchscreenDelegateX11();
18 virtual ~TouchscreenDelegateX11(); 18 virtual ~TouchscreenDelegateX11();
19 19
20 // DisplayConfigurator::TouchscreenDelegate implementation: 20 // DisplayConfigurator::TouchscreenDelegate implementation:
21 virtual void AssociateTouchscreens( 21 virtual void AssociateTouchscreens(
22 DisplayConfigurator::DisplayStateList* outputs) OVERRIDE; 22 DisplayConfigurator::DisplayStateList* outputs) OVERRIDE;
23 virtual void ConfigureCTM(
24 int touch_device_id,
25 const DisplayConfigurator::CoordinateTransformation& ctm) OVERRIDE;
26 23
27 private: 24 private:
28 Display* display_; 25 Display* display_;
29 26
30 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateX11); 27 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateX11);
31 }; 28 };
32 29
33 } // namespace ui 30 } // namespace ui
34 31
35 #endif // UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_ 32 #endif // UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DELEGATE_X11_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/ozone/touchscreen_delegate_ozone.cc ('k') | ui/display/chromeos/x11/touchscreen_delegate_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698