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

Side by Side Diff: ash/shell.h

Issue 11087014: Revert 160696 - Decouple EventClientImpl and root window. Check containers on the same root window … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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.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 #ifndef ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 class UserWallpaperDelegate; 76 class UserWallpaperDelegate;
77 class VideoDetector; 77 class VideoDetector;
78 class WindowCycleController; 78 class WindowCycleController;
79 79
80 namespace internal { 80 namespace internal {
81 class AcceleratorFilter; 81 class AcceleratorFilter;
82 class ActivationController; 82 class ActivationController;
83 class AppListController; 83 class AppListController;
84 class CaptureController; 84 class CaptureController;
85 class DragDropController; 85 class DragDropController;
86 class EventClientImpl;
87 class EventRewriterEventFilter; 86 class EventRewriterEventFilter;
88 class FocusCycler; 87 class FocusCycler;
89 class MagnificationController; 88 class MagnificationController;
90 class MouseCursorEventFilter; 89 class MouseCursorEventFilter;
91 class OutputConfiguratorAnimation; 90 class OutputConfiguratorAnimation;
92 class OverlayEventFilter; 91 class OverlayEventFilter;
93 class PanelLayoutManager; 92 class PanelLayoutManager;
94 class ResizeShadowController; 93 class ResizeShadowController;
95 class RootWindowController; 94 class RootWindowController;
96 class RootWindowLayoutManager; 95 class RootWindowLayoutManager;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // contains the current active window as a decendant child. The active 168 // contains the current active window as a decendant child. The active
170 // RootWindow remains the same even when the active window becomes NULL, 169 // RootWindow remains the same even when the active window becomes NULL,
171 // until the another window who has a different root window becomes active. 170 // until the another window who has a different root window becomes active.
172 static aura::RootWindow* GetActiveRootWindow(); 171 static aura::RootWindow* GetActiveRootWindow();
173 172
174 // Returns all root windows. 173 // Returns all root windows.
175 static RootWindowList GetAllRootWindows(); 174 static RootWindowList GetAllRootWindows();
176 175
177 static aura::Window* GetContainer(aura::RootWindow* root_window, 176 static aura::Window* GetContainer(aura::RootWindow* root_window,
178 int container_id); 177 int container_id);
179 static const aura::Window* GetContainer(const aura::RootWindow* root_window,
180 int container_id);
181 178
182 // Returns the list of containers that match |container_id| in 179 // Returns the list of containers that match |container_id| in
183 // all root windows. 180 // all root windows.
184 static std::vector<aura::Window*> GetAllContainers(int container_id); 181 static std::vector<aura::Window*> GetAllContainers(int container_id);
185 182
186 void set_active_root_window(aura::RootWindow* active_root_window) { 183 void set_active_root_window(aura::RootWindow* active_root_window) {
187 active_root_window_ = active_root_window; 184 active_root_window_ = active_root_window;
188 } 185 }
189 186
190 // Adds or removes |filter| from the aura::Env's pre-target event-handler 187 // Adds or removes |filter| from the aura::Env's pre-target event-handler
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 scoped_ptr<WindowCycleController> window_cycle_controller_; 450 scoped_ptr<WindowCycleController> window_cycle_controller_;
454 scoped_ptr<internal::FocusCycler> focus_cycler_; 451 scoped_ptr<internal::FocusCycler> focus_cycler_;
455 scoped_ptr<DisplayController> display_controller_; 452 scoped_ptr<DisplayController> display_controller_;
456 scoped_ptr<HighContrastController> high_contrast_controller_; 453 scoped_ptr<HighContrastController> high_contrast_controller_;
457 scoped_ptr<internal::MagnificationController> magnification_controller_; 454 scoped_ptr<internal::MagnificationController> magnification_controller_;
458 scoped_ptr<aura::FocusManager> focus_manager_; 455 scoped_ptr<aura::FocusManager> focus_manager_;
459 scoped_ptr<aura::client::UserActionClient> user_action_client_; 456 scoped_ptr<aura::client::UserActionClient> user_action_client_;
460 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; 457 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_;
461 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; 458 scoped_ptr<internal::ScreenPositionController> screen_position_controller_;
462 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; 459 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_;
463 scoped_ptr<internal::EventClientImpl> event_client_;
464 460
465 // An event filter that rewrites or drops an event. 461 // An event filter that rewrites or drops an event.
466 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; 462 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_;
467 463
468 // An event filter that pre-handles key events while the partial 464 // An event filter that pre-handles key events while the partial
469 // screenshot UI or the keyboard overlay is active. 465 // screenshot UI or the keyboard overlay is active.
470 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; 466 scoped_ptr<internal::OverlayEventFilter> overlay_filter_;
471 467
472 // An event filter which handles system level gestures 468 // An event filter which handles system level gestures
473 scoped_ptr<internal::SystemGestureEventFilter> system_gesture_filter_; 469 scoped_ptr<internal::SystemGestureEventFilter> system_gesture_filter_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 504
509 // Used by ash/shell. 505 // Used by ash/shell.
510 content::BrowserContext* browser_context_; 506 content::BrowserContext* browser_context_;
511 507
512 DISALLOW_COPY_AND_ASSIGN(Shell); 508 DISALLOW_COPY_AND_ASSIGN(Shell);
513 }; 509 };
514 510
515 } // namespace ash 511 } // namespace ash
516 512
517 #endif // ASH_SHELL_H_ 513 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698