Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: ui/display/chromeos/x11/touchscreen_device_manager_x11.h

Issue 508303002: Move touchscreen device caching to DeviceDataManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PlatformEventObserver Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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_X11_TOUCHSCREEN_DEVICE_MANAGER_X11_H_
6 #define UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DEVICE_MANAGER_X11_H_
7
8 #include "base/macros.h"
9 #include "ui/display/types/chromeos/touchscreen_device_manager.h"
10
11 struct _XDisplay;
12 typedef struct _XDisplay Display;
13
14 namespace ui {
15
16 class TouchscreenDeviceManagerX11 : public TouchscreenDeviceManager {
17 public:
18 TouchscreenDeviceManagerX11();
19 virtual ~TouchscreenDeviceManagerX11();
20
21 // TouchscreenDeviceManager implementation:
22 virtual std::vector<TouchscreenDevice> GetDevices() OVERRIDE;
23
24 private:
25 Display* display_;
26
27 DISALLOW_COPY_AND_ASSIGN(TouchscreenDeviceManagerX11);
28 };
29
30 } // namespace ui
31
32 #endif // UI_DISPLAY_CHROMEOS_X11_TOUCHSCREEN_DEVICE_MANAGER_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698