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

Unified Diff: ui/keyboard/resources/elements/kb-keyboard.html

Issue 99923003: Adds unit tests for swipe flick. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flickv2
Patch Set: Fixed the nit. Created 7 years 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 | « chrome/test/data/chromeos/virtual_keyboard/virtual_keyboard_test_base.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/resources/elements/kb-keyboard.html
diff --git a/ui/keyboard/resources/elements/kb-keyboard.html b/ui/keyboard/resources/elements/kb-keyboard.html
index 9546c48ecb898195975cb836ba16f3463aa38cba..e0f0663b6fffd8963f8ca347d81c872497667075 100644
--- a/ui/keyboard/resources/elements/kb-keyboard.html
+++ b/ui/keyboard/resources/elements/kb-keyboard.html
@@ -351,7 +351,7 @@
ready: function() {
this.voiceInput_ = new VoiceInput(this);
- this.swipeHandler = this.updateSwipeTracker.bind(this);
+ this.swipeHandler = this.move.bind(this);
},
/**
@@ -472,7 +472,7 @@
* status so that PointerEvents can be converted to Swipe events.
* @param {PointerEvent} event.
*/
- updateSwipeTracker: function(event) {
+ move: function(event) {
if (!swipeTracker.update(event))
return;
// Conversion was successful, swipe is now in progress.
« no previous file with comments | « chrome/test/data/chromeos/virtual_keyboard/virtual_keyboard_test_base.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698