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

Unified Diff: chrome/browser/resources/options/pref_ui.js

Issue 400993003: Save slider preferences when using touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Can only test CrOS 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
Index: chrome/browser/resources/options/pref_ui.js
diff --git a/chrome/browser/resources/options/pref_ui.js b/chrome/browser/resources/options/pref_ui.js
index b4f28308bf885b9861983cdab305ba4e19f358f6..d8ea25649857e754ef16d7b12806f72a421fd232 100644
--- a/chrome/browser/resources/options/pref_ui.js
+++ b/chrome/browser/resources/options/pref_ui.js
@@ -296,6 +296,8 @@ cr.define('options', function() {
// https://bugs.webkit.org/show_bug.cgi?id=52256
this.addEventListener('keyup', this.handleRelease_.bind(this));
this.addEventListener('mouseup', this.handleRelease_.bind(this));
+ this.addEventListener('touchcancel', this.handleRelease_.bind(this));
+ this.addEventListener('touchend', this.handleRelease_.bind(this));
},
/**
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/ui/webui/options/options_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698