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

Side by Side Diff: ui/events/test/event_generator.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/x11/x11_hotplug_event_handler.h ('k') | ui/events/test/test_event_target.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_TEST_EVENT_GENERATOR_H_ 5 #ifndef UI_EVENTS_TEST_EVENT_GENERATOR_H_
6 #define UI_EVENTS_TEST_EVENT_GENERATOR_H_ 6 #define UI_EVENTS_TEST_EVENT_GENERATOR_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "ui/events/event_constants.h" 15 #include "ui/events/event_constants.h"
16 #include "ui/events/keycodes/keyboard_codes.h" 16 #include "ui/events/keycodes/keyboard_codes.h"
17 #include "ui/gfx/geometry/point.h" 17 #include "ui/gfx/geometry/point.h"
18 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
19 19
20 namespace base { 20 namespace base {
21 class TickClock; 21 class TickClock;
22 } 22 }
23 23
24 namespace gfx { 24 namespace gfx {
25 class PointF; 25 class PointF;
26 } 26 }
27 27
28 namespace ui { 28 namespace ui {
29 class Event; 29 class Event;
30 class EventProcessor;
31 class EventSource; 30 class EventSource;
32 class EventTarget; 31 class EventTarget;
33 class KeyEvent; 32 class KeyEvent;
34 class MouseEvent;
35 class ScrollEvent;
36 class TouchEvent;
37 33
38 namespace test { 34 namespace test {
39 35
40 typedef base::Callback<void(EventType, const gfx::Vector2dF&)> 36 typedef base::Callback<void(EventType, const gfx::Vector2dF&)>
41 ScrollStepCallback; 37 ScrollStepCallback;
42 38
43 class EventGenerator; 39 class EventGenerator;
44 40
45 // A delegate interface for EventGenerator to abstract platform-specific event 41 // A delegate interface for EventGenerator to abstract platform-specific event
46 // targeting and coordinate conversion. 42 // targeting and coordinate conversion.
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 bool targeting_application_; 404 bool targeting_application_;
409 std::unique_ptr<base::TickClock> tick_clock_; 405 std::unique_ptr<base::TickClock> tick_clock_;
410 406
411 DISALLOW_COPY_AND_ASSIGN(EventGenerator); 407 DISALLOW_COPY_AND_ASSIGN(EventGenerator);
412 }; 408 };
413 409
414 } // namespace test 410 } // namespace test
415 } // namespace ui 411 } // namespace ui
416 412
417 #endif // UI_EVENTS_TEST_EVENT_GENERATOR_H_ 413 #endif // UI_EVENTS_TEST_EVENT_GENERATOR_H_
OLDNEW
« no previous file with comments | « ui/events/platform/x11/x11_hotplug_event_handler.h ('k') | ui/events/test/test_event_target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698