diff options
Diffstat (limited to 'ui/display/chromeos/touchscreen_delegate_impl.h')
-rw-r--r-- | ui/display/chromeos/touchscreen_delegate_impl.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/display/chromeos/touchscreen_delegate_impl.h b/ui/display/chromeos/touchscreen_delegate_impl.h new file mode 100644 index 0000000..32e0b174 --- /dev/null +++ b/ui/display/chromeos/touchscreen_delegate_impl.h @@ -0,0 +1,36 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_ +#define UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_ + +#include "base/memory/scoped_ptr.h" +#include "ui/display/chromeos/display_configurator.h" +#include "ui/display/display_export.h" +#include "ui/display/types/chromeos/touchscreen_device.h" + +namespace ui { + +class TouchscreenDeviceManager; + +class DISPLAY_EXPORT TouchscreenDelegateImpl + : public DisplayConfigurator::TouchscreenDelegate { + public: + explicit TouchscreenDelegateImpl( + scoped_ptr<TouchscreenDeviceManager> touch_device_manager); + virtual ~TouchscreenDelegateImpl(); + + // DisplayConfigurator::TouchscreenDelegate overrides: + virtual void AssociateTouchscreens( + std::vector<DisplayConfigurator::DisplayState>* displays) OVERRIDE; + + private: + scoped_ptr<TouchscreenDeviceManager> touch_device_manager_; + + DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateImpl); +}; + +} // namespace ui + +#endif // UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_ |