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

Unified Diff: ui/display/manager/chromeos/touch_transform_controller.h

Issue 2633423004: Displays the calibration complete message to touch calibration and gracefully quits (Closed)
Patch Set: Small addition 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: ui/display/manager/chromeos/touch_transform_controller.h
diff --git a/ui/display/manager/chromeos/touch_transform_controller.h b/ui/display/manager/chromeos/touch_transform_controller.h
index 02cbeb36ab742737bc46636f1ab997b92b16acd9..b911a311feceb45e95405369a7ed8319f2a3e96e 100644
--- a/ui/display/manager/chromeos/touch_transform_controller.h
+++ b/ui/display/manager/chromeos/touch_transform_controller.h
@@ -38,6 +38,10 @@ class DISPLAY_MANAGER_EXPORT TouchTransformController {
// into device manager.
void UpdateTouchTransforms() const;
+ // During touch calibration we remove the previous transform and update touch
+ // transformer until calibration is complete.
+ void SetForCalibration(bool is_calibrating);
+
private:
friend class test::TouchTransformControllerTest;
@@ -82,6 +86,8 @@ class DISPLAY_MANAGER_EXPORT TouchTransformController {
DisplayConfigurator* display_configurator_;
DisplayManager* display_manager_;
+ bool is_calibrating_ = false;
+
DISALLOW_COPY_AND_ASSIGN(TouchTransformController);
};

Powered by Google App Engine
This is Rietveld 408576698