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

Unified Diff: ui/events/test/events_test_utils.h

Issue 240333007: wip: Second crack at implementing the touch exploration mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a flag to disable the touch exploration mode. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/event_source.h ('k') | ui/events/test/events_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/events_test_utils.h
diff --git a/ui/events/test/events_test_utils.h b/ui/events/test/events_test_utils.h
index 65ae075589e7dc8b0db6ee40218861ce96b93fdd..ff38fc5d1f9d2d0617d04c058236531069a9e66e 100644
--- a/ui/events/test/events_test_utils.h
+++ b/ui/events/test/events_test_utils.h
@@ -6,10 +6,13 @@
#define UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
#include "ui/events/event.h"
+#include "ui/events/event_dispatcher.h"
#include "ui/events/event_target.h"
namespace ui {
+class EventSource;
+
class EventTestApi {
public:
explicit EventTestApi(Event* event);
@@ -60,6 +63,20 @@ class EventTargetTestApi {
DISALLOW_COPY_AND_ASSIGN(EventTargetTestApi);
};
+class EventSourceTestApi {
+ public:
+ explicit EventSourceTestApi(EventSource* event_source);
+
+ EventDispatchDetails SendEventToProcessor(Event* event) WARN_UNUSED_RESULT;
+
+ private:
+ EventSourceTestApi();
+
+ EventSource* event_source_;
+
+ DISALLOW_COPY_AND_ASSIGN(EventSourceTestApi);
+};
+
} // namespace ui
#endif // UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
« no previous file with comments | « ui/events/event_source.h ('k') | ui/events/test/events_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698