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_TOUCHSCREEN_DELEGATE_IMPL_H_ 6 #define UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_ 7 8 #include "base/memory/scoped_ptr.h" 9 #include "ui/display/chromeos/display_configurator.h" 10 #include "ui/display/display_export.h" 11 #include "ui/display/types/chromeos/touchscreen_device.h" 12 13 namespace ui { 14 15 class TouchscreenDeviceManager; 16 17 class DISPLAY_EXPORT TouchscreenDelegateImpl 18 : public DisplayConfigurator::TouchscreenDelegate { 19 public: 20 explicit TouchscreenDelegateImpl( 21 scoped_ptr<TouchscreenDeviceManager> touch_device_manager); 22 virtual ~TouchscreenDelegateImpl(); 23 24 // DisplayConfigurator::TouchscreenDelegate overrides: 25 virtual void AssociateTouchscreens( 26 std::vector<DisplayConfigurator::DisplayState>* displays) OVERRIDE; 27 28 private: 29 scoped_ptr<TouchscreenDeviceManager> touch_device_manager_; 30 31 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateImpl); 32 }; 33 34 } // namespace ui 35 36 #endif // UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_ 37