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

Unified Diff: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h

Issue 2600213002: Adds animated touch point and the hint box for touch calibration UX (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
« no previous file with comments | « no previous file | chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h
diff --git a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h
index dec47afe4c74d06aca133b08a5aff69261a62ce9..de465668dbd9e42ba1ebc442c50bcfc0cb2e4c37 100644
--- a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h
+++ b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h
@@ -22,6 +22,8 @@ class LinearAnimation;
namespace chromeos {
+class CircularThrobberView;
+
// An overlay view used during touch calibration. This view is responsible for
// all animations and UX during touch calibration on all displays currently
// active on the device. The view on the display being calibrated is the primary
@@ -112,6 +114,18 @@ class TouchCalibratorView : public views::View, public gfx::AnimationDelegate {
// and view translation.
std::unique_ptr<gfx::LinearAnimation> animator_;
+ // View responsible for displaying the animated circular icon that the user
+ // touches to calibrate the screen.
+ CircularThrobberView* throbber_circle_;
+
+ // A hint box displayed next to the first touch point to assist user with
+ // information about the next step.
+ views::View* hint_box_view_;
+
+ // View that contains the animated throbber circle and a text label informing
+ // the user to tap the circle to continue calibration.
+ views::View* touch_point_view_;
+
State state_ = UNKNOWN;
DISALLOW_COPY_AND_ASSIGN(TouchCalibratorView);
« no previous file with comments | « no previous file | chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698