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

Unified Diff: chrome/browser/resources/settings/device_page/display.js

Issue 2638903003: Updates touch calibration API and plumbs through the native touch calibration method (Closed)
Patch Set: Resolving Comments Created 3 years, 11 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/settings/device_page/display.js
diff --git a/chrome/browser/resources/settings/device_page/display.js b/chrome/browser/resources/settings/device_page/display.js
index 3cb387976e86c7ebc47ba328281b9231e53303a5..7a48f33b900f79511ffc37a238ca48135fe6552d 100644
--- a/chrome/browser/resources/settings/device_page/display.js
+++ b/chrome/browser/resources/settings/device_page/display.js
@@ -315,8 +315,8 @@ Polymer({
* @private
*/
onTouchCalibrationTap_: function(e) {
- settings.display.systemDisplayApi.touchCalibrationStart(
- this.selectedDisplay.id);
+ settings.display.systemDisplayApi.showNativeTouchCalibration(
+ this.selectedDisplay.id, function(success) {});
stevenjb 2017/01/19 17:19:01 Ideally we should disable the button while touch c
malaykeshav 2017/01/19 23:49:07 This would be a safety measure since the calibrati
},
/**

Powered by Google App Engine
This is Rietveld 408576698