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"
15 class TouchscreenDeviceManager
;
17 class DISPLAY_EXPORT TouchscreenDelegateImpl
18 : public DisplayConfigurator::TouchscreenDelegate
{
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
;
29 scoped_ptr
<TouchscreenDeviceManager
> touch_device_manager_
;
31 DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateImpl
);
36 #endif // UI_DISPLAY_CHROMEOS_TOUCHSCREEN_DELEGATE_IMPL_H_