| Index: ash/wm/overview/scoped_overview_animation_settings.cc
|
| diff --git a/ash/wm/overview/scoped_overview_animation_settings.cc b/ash/wm/overview/scoped_overview_animation_settings.cc
|
| index e0cf9776e9cbe09039d7aafdd716cc5d22ce2735..9dc172d2dbb3011d22385bf495dd2d8aa58ee0ba 100644
|
| --- a/ash/wm/overview/scoped_overview_animation_settings.cc
|
| +++ b/ash/wm/overview/scoped_overview_animation_settings.cc
|
| @@ -73,4 +73,15 @@ ScopedOverviewAnimationSettings::ScopedOverviewAnimationSettings(
|
| ScopedOverviewAnimationSettings::~ScopedOverviewAnimationSettings() {
|
| }
|
|
|
| +// static:
|
| +void ScopedOverviewAnimationSettings::SetupFadeInAfterLayout(
|
| + aura::Window* window) {
|
| + ui::Layer* layer = window->layer();
|
| + layer->SetOpacity(0.0f);
|
| + ScopedOverviewAnimationSettings animation_settings(
|
| + OverviewAnimationType::OVERVIEW_ANIMATION_ENTER_OVERVIEW_MODE_FADE_IN,
|
| + window);
|
| + layer->SetOpacity(1.0f);
|
| +}
|
| +
|
| } // namespace ash
|
|
|