| OLD | NEW |
| 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_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ |
| 6 #define UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ | 6 #define UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ |
| 7 | 7 |
| 8 #include "ui/display/chromeos/display_configurator.h" | 8 #include "ui/display/chromeos/display_configurator.h" |
| 9 | 9 |
| 10 namespace ui { | 10 namespace ui { |
| 11 | 11 |
| 12 class TouchscreenDelegateOzone | 12 class TouchscreenDelegateOzone |
| 13 : public DisplayConfigurator::TouchscreenDelegate { | 13 : public DisplayConfigurator::TouchscreenDelegate { |
| 14 public: | 14 public: |
| 15 TouchscreenDelegateOzone(); | 15 TouchscreenDelegateOzone(); |
| 16 virtual ~TouchscreenDelegateOzone(); | 16 virtual ~TouchscreenDelegateOzone(); |
| 17 | 17 |
| 18 // DisplayConfigurator::TouchscreenDelegate overrides: | 18 // DisplayConfigurator::TouchscreenDelegate overrides: |
| 19 virtual void AssociateTouchscreens( | 19 virtual void AssociateTouchscreens( |
| 20 std::vector<DisplayConfigurator::DisplayState>* outputs) OVERRIDE; | 20 std::vector<DisplayConfigurator::DisplayState>* outputs) OVERRIDE; |
| 21 virtual void ConfigureCTM( | |
| 22 int touch_device_id, | |
| 23 const DisplayConfigurator::CoordinateTransformation& ctm) OVERRIDE; | |
| 24 | 21 |
| 25 private: | 22 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateOzone); | 23 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateOzone); |
| 27 }; | 24 }; |
| 28 | 25 |
| 29 } // namespace ui | 26 } // namespace ui |
| 30 | 27 |
| 31 #endif // UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ | 28 #endif // UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ |
| OLD | NEW |