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

Unified Diff: ui/webui/resources/js/cr/ui/touch_handler.js

Issue 604373006: Compile chrome://settings, part 9: yet another final battle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@K_blockers_from_bookmarks
Patch Set: describe supressions Created 6 years, 2 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/webui/resources/js/cr/ui/list.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/touch_handler.js
diff --git a/ui/webui/resources/js/cr/ui/touch_handler.js b/ui/webui/resources/js/cr/ui/touch_handler.js
index acc12afe1f5df22177c23106e0bc89487927cace..315fef0188f290f8fc5eea2854bfd32ce91ec8e5 100644
--- a/ui/webui/resources/js/cr/ui/touch_handler.js
+++ b/ui/webui/resources/js/cr/ui/touch_handler.js
@@ -788,6 +788,8 @@ cr.define('cr.ui', function() {
this.disableTap_ = true;
// Dispatch to the LONG_PRESS
+ assert(typeof this.startTouchX_ == 'number');
+ assert(typeof this.startTouchY_ == 'number');
this.dispatchEventXY_(TouchHandler.EventType.LONG_PRESS, this.element_,
/** @type {number} */(this.startTouchX_),
/** @type {number} */(this.startTouchY_));
« no previous file with comments | « ui/webui/resources/js/cr/ui/list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698