Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: ash/shell.cc

Issue 10916221: Make ToplevelWindowEventFilter and WorkspaceEventFilter into event handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "ash/wm/property_util.h" 49 #include "ash/wm/property_util.h"
50 #include "ash/wm/resize_shadow_controller.h" 50 #include "ash/wm/resize_shadow_controller.h"
51 #include "ash/wm/root_window_layout_manager.h" 51 #include "ash/wm/root_window_layout_manager.h"
52 #include "ash/wm/screen_dimmer.h" 52 #include "ash/wm/screen_dimmer.h"
53 #include "ash/wm/shadow_controller.h" 53 #include "ash/wm/shadow_controller.h"
54 #include "ash/wm/shelf_layout_manager.h" 54 #include "ash/wm/shelf_layout_manager.h"
55 #include "ash/wm/stacking_controller.h" 55 #include "ash/wm/stacking_controller.h"
56 #include "ash/wm/status_area_layout_manager.h" 56 #include "ash/wm/status_area_layout_manager.h"
57 #include "ash/wm/system_gesture_event_filter.h" 57 #include "ash/wm/system_gesture_event_filter.h"
58 #include "ash/wm/system_modal_container_layout_manager.h" 58 #include "ash/wm/system_modal_container_layout_manager.h"
59 #include "ash/wm/toplevel_window_event_filter.h"
60 #include "ash/wm/user_activity_detector.h" 59 #include "ash/wm/user_activity_detector.h"
61 #include "ash/wm/video_detector.h" 60 #include "ash/wm/video_detector.h"
62 #include "ash/wm/visibility_controller.h" 61 #include "ash/wm/visibility_controller.h"
63 #include "ash/wm/window_cycle_controller.h" 62 #include "ash/wm/window_cycle_controller.h"
64 #include "ash/wm/window_modality_controller.h" 63 #include "ash/wm/window_modality_controller.h"
65 #include "ash/wm/window_properties.h" 64 #include "ash/wm/window_properties.h"
66 #include "ash/wm/window_util.h" 65 #include "ash/wm/window_util.h"
67 #include "ash/wm/workspace/workspace_event_filter.h"
68 #include "ash/wm/workspace/workspace_layout_manager.h" 66 #include "ash/wm/workspace/workspace_layout_manager.h"
69 #include "ash/wm/workspace_controller.h" 67 #include "ash/wm/workspace_controller.h"
70 #include "base/bind.h" 68 #include "base/bind.h"
71 #include "base/command_line.h" 69 #include "base/command_line.h"
72 #include "grit/ui_resources.h" 70 #include "grit/ui_resources.h"
73 #include "ui/aura/client/aura_constants.h" 71 #include "ui/aura/client/aura_constants.h"
74 #include "ui/aura/client/user_action_client.h" 72 #include "ui/aura/client/user_action_client.h"
75 #include "ui/aura/display_manager.h" 73 #include "ui/aura/display_manager.h"
76 #include "ui/aura/env.h" 74 #include "ui/aura/env.h"
77 #include "ui/aura/focus_manager.h" 75 #include "ui/aura/focus_manager.h"
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 } 756 }
759 757
760 void Shell::ShowCursor(bool visible) { 758 void Shell::ShowCursor(bool visible) {
761 RootWindowList root_windows = GetAllRootWindows(); 759 RootWindowList root_windows = GetAllRootWindows();
762 for (RootWindowList::iterator iter = root_windows.begin(); 760 for (RootWindowList::iterator iter = root_windows.begin();
763 iter != root_windows.end(); ++iter) 761 iter != root_windows.end(); ++iter)
764 (*iter)->ShowCursor(visible); 762 (*iter)->ShowCursor(visible);
765 } 763 }
766 764
767 } // namespace ash 765 } // namespace ash
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698