| Index: ash/wm/overview/scoped_overview_animation_settings_aura.cc
|
| diff --git a/ash/wm/overview/scoped_overview_animation_settings_aura.cc b/ash/wm/overview/scoped_overview_animation_settings_aura.cc
|
| index 56e7a19e8a933e8c5354279471d405a384021d07..f7f76fcdcd55a6bbab63a35745b7964b00d3420d 100644
|
| --- a/ash/wm/overview/scoped_overview_animation_settings_aura.cc
|
| +++ b/ash/wm/overview/scoped_overview_animation_settings_aura.cc
|
| @@ -54,24 +54,45 @@ base::TimeDelta GetAnimationDuration(OverviewAnimationType animation_type) {
|
| }
|
|
|
| class OverviewEnterMetricsReporter : public ui::AnimationMetricsReporter {
|
| + public:
|
| + OverviewEnterMetricsReporter() = default;
|
| + ~OverviewEnterMetricsReporter() override = default;
|
| +
|
| void Report(int value) override {
|
| UMA_HISTOGRAM_PERCENTAGE("Ash.WindowSelector.AnimationSmoothness.Enter",
|
| value);
|
| }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(OverviewEnterMetricsReporter);
|
| };
|
|
|
| class OverviewExitMetricsReporter : public ui::AnimationMetricsReporter {
|
| + public:
|
| + OverviewExitMetricsReporter() = default;
|
| + ~OverviewExitMetricsReporter() override = default;
|
| +
|
| void Report(int value) override {
|
| UMA_HISTOGRAM_PERCENTAGE("Ash.WindowSelector.AnimationSmoothness.Exit",
|
| value);
|
| }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(OverviewExitMetricsReporter);
|
| };
|
|
|
| class OverviewCloseMetricsReporter : public ui::AnimationMetricsReporter {
|
| + public:
|
| + OverviewCloseMetricsReporter() = default;
|
| + ~OverviewCloseMetricsReporter() override = default;
|
| +
|
| void Report(int value) override {
|
| UMA_HISTOGRAM_PERCENTAGE("Ash.WindowSelector.AnimationSmoothness.Close",
|
| value);
|
| }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(OverviewCloseMetricsReporter);
|
| };
|
|
|
| base::LazyInstance<OverviewEnterMetricsReporter>::Leaky g_reporter_enter =
|
|
|