| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/shell.h" | 5 #include "ash/shell.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/accelerators/focus_manager_factory.h" | 10 #include "ash/accelerators/focus_manager_factory.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "ash/wm/video_detector.h" | 60 #include "ash/wm/video_detector.h" |
| 61 #include "ash/wm/visibility_controller.h" | 61 #include "ash/wm/visibility_controller.h" |
| 62 #include "ash/wm/window_cycle_controller.h" | 62 #include "ash/wm/window_cycle_controller.h" |
| 63 #include "ash/wm/window_modality_controller.h" | 63 #include "ash/wm/window_modality_controller.h" |
| 64 #include "ash/wm/window_properties.h" | 64 #include "ash/wm/window_properties.h" |
| 65 #include "ash/wm/window_util.h" | 65 #include "ash/wm/window_util.h" |
| 66 #include "ash/wm/workspace/workspace_layout_manager.h" | 66 #include "ash/wm/workspace/workspace_layout_manager.h" |
| 67 #include "ash/wm/workspace_controller.h" | 67 #include "ash/wm/workspace_controller.h" |
| 68 #include "base/bind.h" | 68 #include "base/bind.h" |
| 69 #include "base/command_line.h" | 69 #include "base/command_line.h" |
| 70 #include "grit/ui_resources.h" | |
| 71 #include "ui/aura/client/aura_constants.h" | 70 #include "ui/aura/client/aura_constants.h" |
| 72 #include "ui/aura/client/user_action_client.h" | 71 #include "ui/aura/client/user_action_client.h" |
| 73 #include "ui/aura/display_manager.h" | 72 #include "ui/aura/display_manager.h" |
| 74 #include "ui/aura/env.h" | 73 #include "ui/aura/env.h" |
| 75 #include "ui/aura/focus_manager.h" | 74 #include "ui/aura/focus_manager.h" |
| 76 #include "ui/aura/layout_manager.h" | 75 #include "ui/aura/layout_manager.h" |
| 77 #include "ui/aura/root_window.h" | 76 #include "ui/aura/root_window.h" |
| 78 #include "ui/aura/shared/compound_event_filter.h" | 77 #include "ui/aura/shared/compound_event_filter.h" |
| 79 #include "ui/aura/shared/input_method_event_filter.h" | 78 #include "ui/aura/shared/input_method_event_filter.h" |
| 80 #include "ui/aura/ui_controls_aura.h" | 79 #include "ui/aura/ui_controls_aura.h" |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 } | 760 } |
| 762 | 761 |
| 763 void Shell::ShowCursor(bool visible) { | 762 void Shell::ShowCursor(bool visible) { |
| 764 RootWindowList root_windows = GetAllRootWindows(); | 763 RootWindowList root_windows = GetAllRootWindows(); |
| 765 for (RootWindowList::iterator iter = root_windows.begin(); | 764 for (RootWindowList::iterator iter = root_windows.begin(); |
| 766 iter != root_windows.end(); ++iter) | 765 iter != root_windows.end(); ++iter) |
| 767 (*iter)->ShowCursor(visible); | 766 (*iter)->ShowCursor(visible); |
| 768 } | 767 } |
| 769 | 768 |
| 770 } // namespace ash | 769 } // namespace ash |
| OLD | NEW |