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

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: permutations doesn't run VLOGS and doesn't break the DCHECK anymore Created 6 years, 6 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
Index: ui/chromeos/touch_exploration_controller.h
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h
index 100a47a68d138a94aa1e46b851cf0f8e4057516d..483b49e284d15df52b0a186b8da0cabd2588357e 100644
--- a/ui/chromeos/touch_exploration_controller.h
+++ b/ui/chromeos/touch_exploration_controller.h
@@ -90,6 +90,8 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
virtual ~TouchExplorationController();
void CallTapTimerNowForTesting();
+ void CallTapTimerNowIfRunningForTesting();
+ void SwitchVLOG(bool turn_on);
dmazzoni 2014/07/02 23:05:57 I'd call this SwitchVLOGForTesting as-is. I think
evy 2014/07/02 23:16:03 Done.
void SetEventHandlerForTesting(ui::EventHandler* event_handler_for_testing);
bool IsInNoFingersDownStateForTesting() const;
@@ -250,6 +252,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') | ui/chromeos/touch_exploration_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698