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

Unified Diff: ui/chromeos/touch_exploration_controller.h

Issue 358693004: Added touch event permutations test to touch_exploration_controller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_passthrough
Patch Set: rebased again because failure to apply the patch Created 6 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 | « no previous file | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/touch_exploration_controller.h
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h
index 6ade40a0c1ab856f420b337f69d080c9090a91a3..e809bcd7b9378f0232a2137e4bd0f29e4f605f5a 100644
--- a/ui/chromeos/touch_exploration_controller.h
+++ b/ui/chromeos/touch_exploration_controller.h
@@ -104,9 +104,13 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
virtual ~TouchExplorationController();
void CallTapTimerNowForTesting();
+ void CallTapTimerNowIfRunningForTesting();
void SetEventHandlerForTesting(ui::EventHandler* event_handler_for_testing);
bool IsInNoFingersDownStateForTesting() const;
bool IsInGestureInProgressStateForTesting() const;
+ // VLOGs should be suppressed in tests that generate a lot of logs,
+ // for example permutations of nine touch events.
+ void SuppressVLOGsForTesting(bool suppress);
private:
// Overridden from ui::EventRewriter
@@ -296,6 +300,9 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
// A copy of the previous event passed.
scoped_ptr<ui::TouchEvent> prev_event_;
+ // This toggles whether VLOGS are turned on or not.
+ bool VLOG_on_;
+
DISALLOW_COPY_AND_ASSIGN(TouchExplorationController);
};
« no previous file with comments | « no previous file | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698