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