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

Unified Diff: ui/chromeos/touch_exploration_controller.cc

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: 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.cc
diff --git a/ui/chromeos/touch_exploration_controller.cc b/ui/chromeos/touch_exploration_controller.cc
index 430bca6370e5f2fac3ccc4bc693859c0c4091eb0..292133866a850e99ff76fef3b29698673c81b12a 100644
--- a/ui/chromeos/touch_exploration_controller.cc
+++ b/ui/chromeos/touch_exploration_controller.cc
@@ -54,8 +54,8 @@ ui::EventRewriteStatus TouchExplorationController::RewriteEvent(
if (!event.IsTouchEvent()) {
if (event.IsKeyEvent()) {
const ui::KeyEvent& key_event = static_cast<const ui::KeyEvent&>(event);
- VLOG(0) << "\nKeyboard event: " << key_event.name() << "\n"
- << " Key code: " << key_event.key_code()
+ VLOG(0) << "\nKeyboard event: " << key_event.name()
+ << "\n Key code: " << key_event.key_code()
<< ", Flags: " << key_event.flags()
<< ", Is char: " << key_event.is_char();
}
@@ -229,7 +229,7 @@ TouchExplorationController::InSingleTapOrTouchExploreReleased(
}
return ui::EVENT_REWRITE_DISCARD;
}
- NOTREACHED() << "Unexpected event type received.";;
+ NOTREACHED() << "Unexpected event type received. " << event.name();
return ui::EVENT_REWRITE_CONTINUE;
}

Powered by Google App Engine
This is Rietveld 408576698