Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index c0a555f40681e5d46a5b04c2d86df0c626e18f93..15f28d3e2ad65fb17dac4ac57b949f9236f8b15f 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -13,6 +13,7 @@ |
#include "ash/desktop_background/desktop_background_view.h" |
#include "ash/drag_drop/drag_drop_controller.h" |
#include "ash/focus_cycler.h" |
+#include "ash/high_contrast/high_contrast_controller.h" |
#include "ash/launcher/launcher.h" |
#include "ash/magnifier/magnification_controller.h" |
#include "ash/monitor/monitor_controller.h" |
@@ -738,12 +739,15 @@ void Shell::Init() { |
drag_drop_controller_.reset(new internal::DragDropController); |
magnification_controller_.reset(new internal::MagnificationController); |
+ high_contrast_controller_.reset(new internal::HighContrastController); |
power_button_controller_.reset(new PowerButtonController); |
AddShellObserver(power_button_controller_.get()); |
video_detector_.reset(new VideoDetector); |
window_cycle_controller_.reset(new WindowCycleController); |
monitor_controller_.reset(new internal::MonitorController); |
screen_dimmer_.reset(new internal::ScreenDimmer); |
+ |
+ high_contrast_controller_->SetEnable(delegate_->IsHighContrastEnabled()); |
} |
aura::Window* Shell::GetContainer(int container_id) { |