| 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/output_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 OutputConfigurator::TouchscreenDelegate { | 13 : public DisplayConfigurator::TouchscreenDelegate { |
| 14 public: | 14 public: |
| 15 TouchscreenDelegateOzone(); | 15 TouchscreenDelegateOzone(); |
| 16 virtual ~TouchscreenDelegateOzone(); | 16 virtual ~TouchscreenDelegateOzone(); |
| 17 | 17 |
| 18 // OutputConfigurator::TouchscreenDelegate overrides: | 18 // DisplayConfigurator::TouchscreenDelegate overrides: |
| 19 virtual void AssociateTouchscreens( | 19 virtual void AssociateTouchscreens( |
| 20 std::vector<OutputConfigurator::DisplayState>* outputs) OVERRIDE; | 20 std::vector<DisplayConfigurator::DisplayState>* outputs) OVERRIDE; |
| 21 virtual void ConfigureCTM( | 21 virtual void ConfigureCTM( |
| 22 int touch_device_id, | 22 int touch_device_id, |
| 23 const OutputConfigurator::CoordinateTransformation& ctm) OVERRIDE; | 23 const DisplayConfigurator::CoordinateTransformation& ctm) OVERRIDE; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateOzone); | 26 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateOzone); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace ui | 29 } // namespace ui |
| 30 | 30 |
| 31 #endif // UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ | 31 #endif // UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_ |
| OLD | NEW |