| 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 #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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 class MouseCursorEventFilter; | 90 class MouseCursorEventFilter; |
| 91 class OutputConfiguratorAnimation; | 91 class OutputConfiguratorAnimation; |
| 92 class OverlayEventFilter; | 92 class OverlayEventFilter; |
| 93 class PanelLayoutManager; | 93 class PanelLayoutManager; |
| 94 class ResizeShadowController; | 94 class ResizeShadowController; |
| 95 class RootWindowController; | 95 class RootWindowController; |
| 96 class RootWindowLayoutManager; | 96 class RootWindowLayoutManager; |
| 97 class ScreenPositionController; | 97 class ScreenPositionController; |
| 98 class ShadowController; | 98 class ShadowController; |
| 99 class ShelfLayoutManager; | 99 class ShelfLayoutManager; |
| 100 class ShellContextMenu; | |
| 101 class SlowAnimationEventFilter; | 100 class SlowAnimationEventFilter; |
| 102 class StackingController; | 101 class StackingController; |
| 103 class StatusAreaWidget; | 102 class StatusAreaWidget; |
| 104 class SystemGestureEventFilter; | 103 class SystemGestureEventFilter; |
| 105 class SystemModalContainerEventFilter; | 104 class SystemModalContainerEventFilter; |
| 106 class TooltipController; | 105 class TooltipController; |
| 107 class TouchObserverHUD; | 106 class TouchObserverHUD; |
| 108 class VisibilityController; | 107 class VisibilityController; |
| 109 class WindowModalityController; | 108 class WindowModalityController; |
| 110 class WorkspaceController; | 109 class WorkspaceController; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 184 |
| 186 void set_active_root_window(aura::RootWindow* active_root_window) { | 185 void set_active_root_window(aura::RootWindow* active_root_window) { |
| 187 active_root_window_ = active_root_window; | 186 active_root_window_ = active_root_window; |
| 188 } | 187 } |
| 189 | 188 |
| 190 // Adds or removes |filter| from the aura::Env's pre-target event-handler | 189 // Adds or removes |filter| from the aura::Env's pre-target event-handler |
| 191 // list. | 190 // list. |
| 192 void AddEnvEventFilter(aura::EventFilter* filter); | 191 void AddEnvEventFilter(aura::EventFilter* filter); |
| 193 void RemoveEnvEventFilter(aura::EventFilter* filter); | 192 void RemoveEnvEventFilter(aura::EventFilter* filter); |
| 194 | 193 |
| 195 // Shows the background menu over |widget|. | 194 // Shows the context menu for the background and launcher at |
| 196 void ShowBackgroundMenu(views::Widget* widget, const gfx::Point& location); | 195 // |location| (in screen coordinates). |
| 196 void ShowContextMenu(const gfx::Point& location); |
| 197 | 197 |
| 198 // Toggles app list. | 198 // Toggles app list. |
| 199 void ToggleAppList(); | 199 void ToggleAppList(); |
| 200 | 200 |
| 201 // Returns app list target visibility. | 201 // Returns app list target visibility. |
| 202 bool GetAppListTargetVisibility() const; | 202 bool GetAppListTargetVisibility() const; |
| 203 | 203 |
| 204 // Returns app list window or NULL if it is not visible. | 204 // Returns app list window or NULL if it is not visible. |
| 205 aura::Window* GetAppListWindow(); | 205 aura::Window* GetAppListWindow(); |
| 206 | 206 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 #endif // !defined(OS_MACOSX) | 429 #endif // !defined(OS_MACOSX) |
| 430 | 430 |
| 431 scoped_ptr<ShellDelegate> delegate_; | 431 scoped_ptr<ShellDelegate> delegate_; |
| 432 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 432 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 433 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; | 433 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
| 434 | 434 |
| 435 scoped_ptr<Launcher> launcher_; | 435 scoped_ptr<Launcher> launcher_; |
| 436 | 436 |
| 437 scoped_ptr<internal::AppListController> app_list_controller_; | 437 scoped_ptr<internal::AppListController> app_list_controller_; |
| 438 | 438 |
| 439 scoped_ptr<internal::ShellContextMenu> shell_context_menu_; | |
| 440 scoped_ptr<internal::StackingController> stacking_controller_; | 439 scoped_ptr<internal::StackingController> stacking_controller_; |
| 441 scoped_ptr<internal::ActivationController> activation_controller_; | 440 scoped_ptr<internal::ActivationController> activation_controller_; |
| 442 scoped_ptr<internal::CaptureController> capture_controller_; | 441 scoped_ptr<internal::CaptureController> capture_controller_; |
| 443 scoped_ptr<internal::WindowModalityController> window_modality_controller_; | 442 scoped_ptr<internal::WindowModalityController> window_modality_controller_; |
| 444 scoped_ptr<internal::DragDropController> drag_drop_controller_; | 443 scoped_ptr<internal::DragDropController> drag_drop_controller_; |
| 445 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; | 444 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; |
| 446 scoped_ptr<internal::ShadowController> shadow_controller_; | 445 scoped_ptr<internal::ShadowController> shadow_controller_; |
| 447 scoped_ptr<internal::TooltipController> tooltip_controller_; | 446 scoped_ptr<internal::TooltipController> tooltip_controller_; |
| 448 scoped_ptr<internal::VisibilityController> visibility_controller_; | 447 scoped_ptr<internal::VisibilityController> visibility_controller_; |
| 449 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; | 448 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 | 507 |
| 509 // Used by ash/shell. | 508 // Used by ash/shell. |
| 510 content::BrowserContext* browser_context_; | 509 content::BrowserContext* browser_context_; |
| 511 | 510 |
| 512 DISALLOW_COPY_AND_ASSIGN(Shell); | 511 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 513 }; | 512 }; |
| 514 | 513 |
| 515 } // namespace ash | 514 } // namespace ash |
| 516 | 515 |
| 517 #endif // ASH_SHELL_H_ | 516 #endif // ASH_SHELL_H_ |
| OLD | NEW |