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

Side by Side Diff: ui/events/test/test_event_target.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/test/event_generator.h ('k') | ui/gfx/blit.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_EVENT_TARGET_H_ 5 #ifndef UI_EVENTS_TEST_TEST_EVENT_TARGET_H_
6 #define UI_EVENTS_TEST_TEST_EVENT_TARGET_H_ 6 #define UI_EVENTS_TEST_TEST_EVENT_TARGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/scoped_vector.h" 15 #include "base/memory/scoped_vector.h"
16 #include "ui/events/event_target.h" 16 #include "ui/events/event_target.h"
17 17
18 typedef std::vector<std::string> HandlerSequenceRecorder; 18 typedef std::vector<std::string> HandlerSequenceRecorder;
19 19
20 namespace gfx {
21 class Point;
22 }
23
24 namespace ui { 20 namespace ui {
25 namespace test { 21 namespace test {
26 22
27 class TestEventTarget : public EventTarget, 23 class TestEventTarget : public EventTarget,
28 public EventHandler { 24 public EventHandler {
29 public: 25 public:
30 TestEventTarget(); 26 TestEventTarget();
31 ~TestEventTarget() override; 27 ~TestEventTarget() override;
32 28
33 void AddChild(std::unique_ptr<TestEventTarget> child); 29 void AddChild(std::unique_ptr<TestEventTarget> child);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 HandlerSequenceRecorder* recorder_; 77 HandlerSequenceRecorder* recorder_;
82 std::string target_name_; 78 std::string target_name_;
83 79
84 DISALLOW_COPY_AND_ASSIGN(TestEventTarget); 80 DISALLOW_COPY_AND_ASSIGN(TestEventTarget);
85 }; 81 };
86 82
87 } // namespace test 83 } // namespace test
88 } // namespace ui 84 } // namespace ui
89 85
90 #endif // UI_EVENTS_TEST_TEST_EVENT_TARGET_H_ 86 #endif // UI_EVENTS_TEST_TEST_EVENT_TARGET_H_
OLDNEW
« no previous file with comments | « ui/events/test/event_generator.h ('k') | ui/gfx/blit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698