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

Unified Diff: ash/rotator/screen_rotation_animator.h

Issue 2771713004: Adds UMA for screen rotation animation smoothness. (Closed)
Patch Set: Created 3 years, 9 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 | ash/rotator/screen_rotation_animator.cc » ('j') | ash/rotator/screen_rotation_animator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation_animator.h
diff --git a/ash/rotator/screen_rotation_animator.h b/ash/rotator/screen_rotation_animator.h
index ac6f18a83569e0e1aeab745949ba9149bf5342fd..2928a575c90297cb1406c36c9e2e7243ea65a1ad 100644
--- a/ash/rotator/screen_rotation_animator.h
+++ b/ash/rotator/screen_rotation_animator.h
@@ -56,6 +56,7 @@ class ASH_EXPORT ScreenRotationAnimator {
private:
friend class ash::test::ScreenRotationAnimatorTestApi;
struct ScreenRotationRequest;
+ class ScreenRotationAnimationMetricsReporter;
// Set the screen orientation to |new_rotation| and animate the change. The
// animation will rotate the initial orientation's layer towards the new
@@ -82,6 +83,7 @@ class ASH_EXPORT ScreenRotationAnimator {
screen_rotation_animator_observers_;
std::unique_ptr<ui::LayerTreeOwner> old_layer_tree_owner_;
std::unique_ptr<ScreenRotationRequest> last_pending_request_;
+ std::unique_ptr<ScreenRotationAnimationMetricsReporter> metrics_reporter_;
base::WeakPtrFactory<ScreenRotationAnimator> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ScreenRotationAnimator);
« no previous file with comments | « no previous file | ash/rotator/screen_rotation_animator.cc » ('j') | ash/rotator/screen_rotation_animator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698