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

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

Issue 2100453002: Remove unnecessary mocking of TickClock for events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@614409-confirm-timestamp-timebase
Patch Set: Fix touch_unittests Created 4 years, 5 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/chromeos/touch_exploration_controller_unittest.cc ('k') | ui/events/test/event_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/event_generator.h
diff --git a/ui/events/test/event_generator.h b/ui/events/test/event_generator.h
index 46f1569dcea675b184c8e6116897e6a5d9889480..a05a37937790a9faeb90cc8d2dc7b8018b612018 100644
--- a/ui/events/test/event_generator.h
+++ b/ui/events/test/event_generator.h
@@ -367,12 +367,6 @@ class EventGenerator {
current_target_ = target;
}
- // Specify an alternative tick clock to be used for simulating time in tests.
- void SetTickClock(std::unique_ptr<base::TickClock> tick_clock);
-
- // Get the current time from the tick clock.
- base::TimeTicks Now();
-
// Default delegate set by a platform-specific GeneratorDelegate singleton.
static EventGeneratorDelegate* default_delegate;
« no previous file with comments | « ui/chromeos/touch_exploration_controller_unittest.cc ('k') | ui/events/test/event_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698