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

Side by Side Diff: ui/events/platform/x11/x11_hotplug_event_handler.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/events/platform/platform_event_source.h ('k') | ui/events/test/event_generator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_ 5 #ifndef UI_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_
6 #define UI_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_ 6 #define UI_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/events/devices/x11/device_list_cache_x11.h" 9 #include "ui/events/devices/x11/device_list_cache_x11.h"
10 #include "ui/gfx/x/x11_atom_cache.h" 10 #include "ui/gfx/x/x11_atom_cache.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class DeviceHotplugEventObserver;
15
16 // Parses X11 native devices and propagates the list of active devices to an 14 // Parses X11 native devices and propagates the list of active devices to an
17 // observer. 15 // observer.
18 class X11HotplugEventHandler { 16 class X11HotplugEventHandler {
19 public: 17 public:
20 X11HotplugEventHandler(); 18 X11HotplugEventHandler();
21 ~X11HotplugEventHandler(); 19 ~X11HotplugEventHandler();
22 20
23 // Called on an X11 hotplug event. 21 // Called on an X11 hotplug event.
24 void OnHotplugEvent(); 22 void OnHotplugEvent();
25 23
26 private: 24 private:
27 X11AtomCache atom_cache_; 25 X11AtomCache atom_cache_;
28 26
29 DISALLOW_COPY_AND_ASSIGN(X11HotplugEventHandler); 27 DISALLOW_COPY_AND_ASSIGN(X11HotplugEventHandler);
30 }; 28 };
31 29
32 } // namespace ui 30 } // namespace ui
33 31
34 #endif // UI_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_ 32 #endif // UI_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/events/platform/platform_event_source.h ('k') | ui/events/test/event_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698