Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / display / chromeos / touchscreen_delegate_impl.h
blob32e0b174280a281755ad1c613d5e660c88288894
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.
5 #ifndef UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_
6 #define UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_
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"
13 namespace ui {
15 class TouchscreenDeviceManager;
17 class DISPLAY_EXPORT TouchscreenDelegateImpl
18 : public DisplayConfigurator::TouchscreenDelegate {
19 public:
20 explicit TouchscreenDelegateImpl(
21 scoped_ptr<TouchscreenDeviceManager> touch_device_manager);
22 virtual ~TouchscreenDelegateImpl();
24 // DisplayConfigurator::TouchscreenDelegate overrides:
25 virtual void AssociateTouchscreens(
26 std::vector<DisplayConfigurator::DisplayState>* displays) OVERRIDE;
28 private:
29 scoped_ptr<TouchscreenDeviceManager> touch_device_manager_;
31 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateImpl);
34 } // namespace ui
36 #endif // UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_