| Index: ash/common/accelerators/accelerator_controller.cc
|
| diff --git a/ash/common/accelerators/accelerator_controller.cc b/ash/common/accelerators/accelerator_controller.cc
|
| index 45540c39f6a9e1d5959a720ebfbc253fb6bb67fc..d7dd7bc1b31116ccdbf7e089b8c99cea4157f50d 100644
|
| --- a/ash/common/accelerators/accelerator_controller.cc
|
| +++ b/ash/common/accelerators/accelerator_controller.cc
|
| @@ -16,13 +16,18 @@
|
| #include "ash/common/media_controller.h"
|
| #include "ash/common/multi_profile_uma.h"
|
| #include "ash/common/new_window_controller.h"
|
| +#include "ash/common/palette_delegate.h"
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/shelf/shelf_widget.h"
|
| #include "ash/common/shelf/wm_shelf.h"
|
| #include "ash/common/shell_delegate.h"
|
| #include "ash/common/system/brightness_control_delegate.h"
|
| +#include "ash/common/system/chromeos/ime_menu/ime_menu_tray.h"
|
| +#include "ash/common/system/chromeos/palette/palette_tray.h"
|
| +#include "ash/common/system/chromeos/palette/palette_utils.h"
|
| #include "ash/common/system/keyboard_brightness_control_delegate.h"
|
| #include "ash/common/system/status_area_widget.h"
|
| +#include "ash/common/system/system_notifier.h"
|
| #include "ash/common/system/tray/system_tray_delegate.h"
|
| #include "ash/common/system/tray/system_tray_notifier.h"
|
| #include "ash/common/system/web_notification/web_notification_tray.h"
|
| @@ -32,35 +37,23 @@
|
| #include "ash/common/wm/window_positioning_utils.h"
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm/wm_event.h"
|
| -#include "ash/common/wm_root_window_controller.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| +#include "ash/resources/vector_icons/vector_icons.h"
|
| +#include "ash/root_window_controller.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/user_metrics.h"
|
| -#include "ui/base/accelerators/accelerator.h"
|
| -#include "ui/base/accelerators/accelerator_manager.h"
|
| -#include "ui/keyboard/keyboard_controller.h"
|
| -
|
| -#if defined(OS_CHROMEOS)
|
| -#include "ash/common/palette_delegate.h"
|
| -#include "ash/common/shelf/wm_shelf.h"
|
| -#include "ash/common/system/chromeos/ime_menu/ime_menu_tray.h"
|
| -#include "ash/common/system/chromeos/palette/palette_tray.h"
|
| -#include "ash/common/system/chromeos/palette/palette_utils.h"
|
| -#include "ash/common/system/status_area_widget.h"
|
| -#include "ash/common/system/system_notifier.h"
|
| -#include "ash/common/wm_root_window_controller.h"
|
| -#include "ash/common/wm_window.h"
|
| -#include "ash/resources/vector_icons/vector_icons.h"
|
| #include "chromeos/dbus/dbus_thread_manager.h"
|
| #include "chromeos/dbus/power_manager_client.h"
|
| #include "grit/ash_strings.h"
|
| +#include "ui/base/accelerators/accelerator.h"
|
| +#include "ui/base/accelerators/accelerator_manager.h"
|
| #include "ui/base/ime/chromeos/ime_keyboard.h"
|
| #include "ui/base/ime/chromeos/input_method_manager.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/paint_vector_icon.h"
|
| +#include "ui/keyboard/keyboard_controller.h"
|
| #include "ui/message_center/message_center.h"
|
| -#endif // defined(OS_CHROMEOS)
|
|
|
| namespace ash {
|
| namespace {
|
| @@ -423,7 +416,7 @@ void HandleLock() {
|
| void HandleShowStylusTools() {
|
| base::RecordAction(UserMetricsAction("Accel_Show_Stylus_Tools"));
|
|
|
| - WmRootWindowController* root_window_controller =
|
| + RootWindowController* root_window_controller =
|
| WmShell::Get()->GetRootWindowForNewWindows()->GetRootWindowController();
|
| PaletteTray* palette_tray =
|
| root_window_controller->GetShelf()->GetStatusAreaWidget()->palette_tray();
|
|
|