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

Side by Side Diff: ui/events/test/events_test_utils.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 years, 9 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
« no previous file with comments | « ui/events/test/event_generator.cc ('k') | ui/events/test/events_test_utils.cc » ('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_EVENTS_TEST_UTILS_H_ 5 #ifndef UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
6 #define UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_ 6 #define UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/events/event.h" 9 #include "ui/events/event.h"
10 #include "ui/events/event_dispatcher.h" 10 #include "ui/events/event_dispatcher.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 EventTarget* target_; 86 EventTarget* target_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(EventTargetTestApi); 88 DISALLOW_COPY_AND_ASSIGN(EventTargetTestApi);
89 }; 89 };
90 90
91 class EventSourceTestApi { 91 class EventSourceTestApi {
92 public: 92 public:
93 explicit EventSourceTestApi(EventSource* event_source); 93 explicit EventSourceTestApi(EventSource* event_source);
94 94
95 EventDispatchDetails SendEventToProcessor(Event* event) WARN_UNUSED_RESULT; 95 EventDispatchDetails SendEventToSink(Event* event) WARN_UNUSED_RESULT;
96 96
97 private: 97 private:
98 EventSourceTestApi(); 98 EventSourceTestApi();
99 99
100 EventSource* event_source_; 100 EventSource* event_source_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(EventSourceTestApi); 102 DISALLOW_COPY_AND_ASSIGN(EventSourceTestApi);
103 }; 103 };
104 104
105 } // namespace ui 105 } // namespace ui
106 106
107 #endif // UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_ 107 #endif // UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « ui/events/test/event_generator.cc ('k') | ui/events/test/events_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698