Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 535b3a46d6f6d9df44ca075a5c1e8f1fc869514d..f5b2a764a193b59372cab53465af1397d393a3f0 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -98,6 +98,7 @@ |
#endif |
#if defined(OS_CHROMEOS) |
+#include "ash/display/output_configurator_animation.h" |
#include "chromeos/display/output_configurator.h" |
#include "ui/aura/dispatcher_linux.h" |
#endif // defined(OS_CHROMEOS) |
@@ -189,6 +190,8 @@ Shell::Shell(ShellDelegate* delegate) |
ui_controls::InstallUIControlsAura(internal::CreateUIControls()); |
#if defined(OS_CHROMEOS) |
// OutputConfigurator needs to get events regarding added/removed outputs. |
+ output_configurator_->set_animation_delegate( |
+ new internal::OutputConfiguratorAnimation); |
static_cast<aura::DispatcherLinux*>( |
aura::Env::GetInstance()->GetDispatcher())->AddDispatcherForRootWindow( |
output_configurator()); |