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

Side by Side Diff: ui/events/platform/platform_event_source.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
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_PLATFORM_EVENT_SOURCE_H_ 5 #ifndef UI_EVENTS_PLATFORM_PLATFORM_EVENT_SOURCE_H_
6 #define UI_EVENTS_PLATFORM_PLATFORM_EVENT_SOURCE_H_ 6 #define UI_EVENTS_PLATFORM_PLATFORM_EVENT_SOURCE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/auto_reset.h" 14 #include "base/auto_reset.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "ui/events/events_export.h" 17 #include "ui/events/events_export.h"
18 #include "ui/events/platform/platform_event_types.h" 18 #include "ui/events/platform/platform_event_types.h"
19 19
20 namespace ui { 20 namespace ui {
21 21
22 class Event;
23 class PlatformEventDispatcher; 22 class PlatformEventDispatcher;
24 class PlatformEventObserver; 23 class PlatformEventObserver;
25 class ScopedEventDispatcher; 24 class ScopedEventDispatcher;
26 25
27 namespace test { 26 namespace test {
28 class PlatformEventSourceTestAPI; 27 class PlatformEventSourceTestAPI;
29 } 28 }
30 29
31 // PlatformEventSource receives events from a source and dispatches the events 30 // PlatformEventSource receives events from a source and dispatches the events
32 // to the appropriate dispatchers. 31 // to the appropriate dispatchers.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 bool overridden_dispatcher_restored_; 102 bool overridden_dispatcher_restored_;
104 103
105 base::ObserverList<PlatformEventObserver> observers_; 104 base::ObserverList<PlatformEventObserver> observers_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(PlatformEventSource); 106 DISALLOW_COPY_AND_ASSIGN(PlatformEventSource);
108 }; 107 };
109 108
110 } // namespace ui 109 } // namespace ui
111 110
112 #endif // UI_EVENTS_PLATFORM_PLATFORM_EVENT_SOURCE_H_ 111 #endif // UI_EVENTS_PLATFORM_PLATFORM_EVENT_SOURCE_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/touch_event_converter_evdev.h ('k') | ui/events/platform/x11/x11_hotplug_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698