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

Unified Diff: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc

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/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
diff --git a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
index 080e2088beb74109f87dc4cce30df7ae94249f1b..0be213c3d07f7fbce8edbf504cc3698a5bb317eb 100644
--- a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
+++ b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
@@ -44,7 +44,9 @@ class TouchCalibratorControllerTest : public ash::test::AshTestBase {
EXPECT_FALSE(ctrl->is_calibrating());
EXPECT_FALSE(!!ctrl->touch_calibrator_views_.size());
- ctrl->StartCalibration(target_display);
+ TouchCalibratorController::TouchCalibrationCallback callback;
stevenjb 2017/01/19 17:19:01 nit: 'do_nothing' or 'empty_callback'
malaykeshav 2017/01/19 23:49:06 Done
+
+ ctrl->StartCalibration(target_display, callback);
EXPECT_TRUE(ctrl->is_calibrating());
// There should be a touch calibrator view associated with each of the

Powered by Google App Engine
This is Rietveld 408576698