Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index bc8829a1fa9de4936c7361af2d090eb71d965a84..a102cc04234bba6ccb92feca6fcd5bb65d11fac3 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/ime/input_method_event_filter.h" |
#include "ash/launcher/launcher.h" |
#include "ash/magnifier/magnification_controller.h" |
@@ -735,12 +736,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) { |