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
3 // found in the LICENSE file.
11 #include "ash/ash_export.h"
12 #include "ash/metrics/user_metrics_recorder.h"
13 #include "ash/shelf/shelf_types.h"
14 #include "ash/system/user/login_status.h"
15 #include "ash/wm/system_modal_container_event_filter_delegate.h"
16 #include "base/basictypes.h"
17 #include "base/compiler_specific.h"
18 #include "base/gtest_prod_util.h"
19 #include "base/memory/scoped_ptr.h"
20 #include "base/memory/weak_ptr.h"
21 #include "base/observer_list.h"
22 #include "ui/aura/client/activation_change_observer.h"
23 #include "ui/aura/window.h"
24 #include "ui/base/ui_base_types.h"
25 #include "ui/events/event_target.h"
26 #include "ui/gfx/insets.h"
27 #include "ui/gfx/screen.h"
28 #include "ui/gfx/size.h"
29 #include "ui/views/corewm/cursor_manager.h"
41 class ActivationClient
;
43 class UserActionClient
;
47 class OutputConfigurator
;
57 class KeyboardController
;
64 class NonClientFrameView
;
67 class CompoundEventFilter
;
68 class InputMethodEventFilter
;
69 class ShadowController
;
70 class TooltipController
;
71 class VisibilityController
;
72 class WindowModalityController
;
78 class AcceleratorController
;
79 class AccessibilityDelegate
;
80 class AshNativeCursorManager
;
81 class AutoclickController
;
82 class CapsLockDelegate
;
83 class DesktopBackgroundController
;
84 class DisplayController
;
87 class HighContrastController
;
88 class LockStateController
;
89 class MagnificationController
;
91 class MruWindowTracker
;
92 class NestedDispatcherController
;
93 class NewWindowDelegate
;
94 class PartialMagnificationController
;
95 class PowerButtonController
;
96 class WindowTreeHostFactory
;
98 class SessionStateDelegate
;
101 class ShelfItemDelegateManager
;
105 class StickyKeysController
;
107 class SystemTrayDelegate
;
108 class SystemTrayNotifier
;
109 class ToplevelWindowEventHandler
;
110 class UserActivityDetector
;
111 class UserWallpaperDelegate
;
113 class WebNotificationTray
;
114 class WindowCycleController
;
115 class WindowPositioner
;
116 class WindowSelectorController
;
119 class AcceleratorFilter
;
120 class AppListController
;
121 class CaptureController
;
122 class DisplayChangeObserver
;
123 class DisplayErrorObserver
;
124 class DisplayManager
;
125 class DragDropController
;
126 class EventClientImpl
;
127 class EventRewriterEventFilter
;
128 class EventTransformationHandler
;
130 class KeyboardUMAEventFilter
;
131 class LocaleNotificationController
;
132 class MouseCursorEventFilter
;
133 class OutputConfiguratorAnimation
;
134 class OverlayEventFilter
;
135 class PowerEventObserver
;
136 class ResizeShadowController
;
137 class ResolutionNotificationController
;
138 class RootWindowController
;
139 class ScopedTargetRootWindow
;
140 class ScreenPositionController
;
141 class ShelfWindowWatcher
;
142 class SlowAnimationEventFilter
;
143 class StatusAreaWidget
;
144 class SystemGestureEventFilter
;
145 class SystemModalContainerEventFilter
;
146 class TouchObserverHUD
;
147 class UserActivityNotifier
;
148 class VideoActivityNotifier
;
159 // Shell is a singleton object that presents the Shell API and implements the
160 // RootWindow's delegate interface.
162 // Upon creation, the Shell sets itself as the RootWindow's delegate, which
163 // takes ownership of the Shell.
164 class ASH_EXPORT Shell
165 : public internal::SystemModalContainerEventFilterDelegate
,
166 public ui::EventTarget
,
167 public aura::client::ActivationChangeObserver
{
169 typedef std::vector
<internal::RootWindowController
*> RootWindowControllerList
;
176 // A shell must be explicitly created so that it can call |Init()| with the
177 // delegate set. |delegate| can be NULL (if not required for initialization).
178 // Takes ownership of |delegate|.
179 static Shell
* CreateInstance(ShellDelegate
* delegate
);
181 // Should never be called before |CreateInstance()|.
182 static Shell
* GetInstance();
184 // Returns true if the ash shell has been instantiated.
185 static bool HasInstance();
187 static void DeleteInstance();
189 // Returns the root window controller for the primary root window.
190 // TODO(oshima): move this to |RootWindowController|
191 static internal::RootWindowController
* GetPrimaryRootWindowController();
193 // Returns all root window controllers.
194 // TODO(oshima): move this to |RootWindowController|
195 static RootWindowControllerList
GetAllRootWindowControllers();
197 // Returns the primary root Window. The primary root Window is the one that
199 static aura::Window
* GetPrimaryRootWindow();
201 // Returns a root Window when used as a target when creating a new window.
202 // The root window of the active window is used in most cases, but can
203 // be overridden by using ScopedTargetRootWindow().
204 // If you want to get the root Window of the active window, just use
205 // |wm::GetActiveWindow()->GetRootWindow()|.
206 static aura::Window
* GetTargetRootWindow();
208 // Returns the global Screen object that's always active in ash.
209 static gfx::Screen
* GetScreen();
211 // Returns all root windows.
212 static aura::Window::Windows
GetAllRootWindows();
214 static aura::Window
* GetContainer(aura::Window
* root_window
,
216 static const aura::Window
* GetContainer(const aura::Window
* root_window
,
219 // Returns the list of containers that match |container_id| in
220 // all root windows. If |priority_root| is given, the container
221 // in the |priority_root| will be inserted at the top of the list.
222 static std::vector
<aura::Window
*> GetContainersFromAllRootWindows(
224 aura::Window
* priority_root
);
226 void set_target_root_window(aura::Window
* target_root_window
) {
227 target_root_window_
= target_root_window
;
230 // Shows the context menu for the background and launcher at
231 // |location_in_screen| (in screen coordinates).
232 void ShowContextMenu(const gfx::Point
& location_in_screen
,
233 ui::MenuSourceType source_type
);
235 // Toggles the app list. |window| specifies in which display the app
236 // list should be shown. If this is NULL, the active root window
238 void ToggleAppList(aura::Window
* anchor
);
240 // Returns app list target visibility.
241 bool GetAppListTargetVisibility() const;
243 // Returns app list window or NULL if it is not visible.
244 aura::Window
* GetAppListWindow();
246 // Returns app list view or NULL if it is not visible.
247 app_list::AppListView
* GetAppListView();
249 // Returns true if a system-modal dialog window is currently open.
250 bool IsSystemModalWindowOpen() const;
252 // For testing only: set simulation that a modal window is open
253 void SimulateModalWindowOpenForTesting(bool modal_window_open
) {
254 simulate_modal_window_open_for_testing_
= modal_window_open
;
257 // Creates a default views::NonClientFrameView for use by windows in the
259 views::NonClientFrameView
* CreateDefaultNonClientFrameView(
260 views::Widget
* widget
);
262 // Rotates focus through containers that can receive focus.
263 void RotateFocus(Direction direction
);
265 // Sets the work area insets of the display that contains |window|,
266 // this notifies observers too.
267 // TODO(sky): this no longer really replicates what happens and is unreliable.
269 void SetDisplayWorkAreaInsets(aura::Window
* window
,
270 const gfx::Insets
& insets
);
272 // Called when the user logs in.
273 void OnLoginStateChanged(user::LoginStatus status
);
275 // Called after the logged-in user's profile is ready.
276 void OnLoginUserProfilePrepared();
278 // Called when the login status changes.
279 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|.
280 void UpdateAfterLoginStatusChange(user::LoginStatus status
);
282 // Called when the application is exiting.
283 void OnAppTerminating();
285 // Called when the screen is locked (after the lock window is visible) or
287 void OnLockStateChanged(bool locked
);
289 // Called when a casting session is started or stopped.
290 void OnCastingSessionStartedOrStopped(bool started
);
292 // Initializes |shelf_|. Does nothing if it's already initialized.
295 // Creates virtual keyboard. Deletes the old virtual keyboard if it's already
297 void CreateKeyboard();
299 // Show shelf view if it was created hidden (before session has started).
302 // Adds/removes observer.
303 void AddShellObserver(ShellObserver
* observer
);
304 void RemoveShellObserver(ShellObserver
* observer
);
306 keyboard::KeyboardController
* keyboard_controller() {
307 return keyboard_controller_
.get();
310 AcceleratorController
* accelerator_controller() {
311 return accelerator_controller_
.get();
314 internal::DisplayManager
* display_manager() {
315 return display_manager_
.get();
317 views::corewm::InputMethodEventFilter
* input_method_filter() {
318 return input_method_filter_
.get();
320 views::corewm::CompoundEventFilter
* env_filter() {
321 return env_filter_
.get();
323 views::corewm::TooltipController
* tooltip_controller() {
324 return tooltip_controller_
.get();
326 internal::EventRewriterEventFilter
* event_rewriter_filter() {
327 return event_rewriter_filter_
.get();
329 internal::OverlayEventFilter
* overlay_filter() {
330 return overlay_filter_
.get();
332 DesktopBackgroundController
* desktop_background_controller() {
333 return desktop_background_controller_
.get();
335 PowerButtonController
* power_button_controller() {
336 return power_button_controller_
.get();
338 LockStateController
* lock_state_controller() {
339 return lock_state_controller_
.get();
341 MruWindowTracker
* mru_window_tracker() {
342 return mru_window_tracker_
.get();
344 UserActivityDetector
* user_activity_detector() {
345 return user_activity_detector_
.get();
347 VideoDetector
* video_detector() {
348 return video_detector_
.get();
350 WindowCycleController
* window_cycle_controller() {
351 return window_cycle_controller_
.get();
353 WindowSelectorController
* window_selector_controller() {
354 return window_selector_controller_
.get();
356 internal::FocusCycler
* focus_cycler() {
357 return focus_cycler_
.get();
359 DisplayController
* display_controller() {
360 return display_controller_
.get();
362 internal::MouseCursorEventFilter
* mouse_cursor_filter() {
363 return mouse_cursor_filter_
.get();
365 internal::EventTransformationHandler
* event_transformation_handler() {
366 return event_transformation_handler_
.get();
368 views::corewm::CursorManager
* cursor_manager() { return &cursor_manager_
; }
370 ShellDelegate
* delegate() { return delegate_
.get(); }
372 UserWallpaperDelegate
* user_wallpaper_delegate() {
373 return user_wallpaper_delegate_
.get();
376 CapsLockDelegate
* caps_lock_delegate() {
377 return caps_lock_delegate_
.get();
380 SessionStateDelegate
* session_state_delegate() {
381 return session_state_delegate_
.get();
384 AccessibilityDelegate
* accessibility_delegate() {
385 return accessibility_delegate_
.get();
388 NewWindowDelegate
* new_window_delegate() {
389 return new_window_delegate_
.get();
392 MediaDelegate
* media_delegate() {
393 return media_delegate_
.get();
396 HighContrastController
* high_contrast_controller() {
397 return high_contrast_controller_
.get();
400 MagnificationController
* magnification_controller() {
401 return magnification_controller_
.get();
404 PartialMagnificationController
* partial_magnification_controller() {
405 return partial_magnification_controller_
.get();
408 AutoclickController
* autoclick_controller() {
409 return autoclick_controller_
.get();
412 aura::client::ActivationClient
* activation_client() {
413 return activation_client_
;
416 ShelfItemDelegateManager
* shelf_item_delegate_manager() {
417 return shelf_item_delegate_manager_
.get();
420 // Force the shelf to query for it's current visibility state.
421 void UpdateShelfVisibility();
423 // TODO(oshima): Define an interface to access shelf/launcher
424 // state, or just use Launcher.
426 // Sets/gets the shelf auto-hide behavior on |root_window|.
427 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior
,
428 aura::Window
* root_window
);
429 ShelfAutoHideBehavior
GetShelfAutoHideBehavior(
430 aura::Window
* root_window
) const;
432 // Sets/gets shelf's alignment on |root_window|.
433 void SetShelfAlignment(ShelfAlignment alignment
,
434 aura::Window
* root_window
);
435 ShelfAlignment
GetShelfAlignment(aura::Window
* root_window
);
437 // Dims or undims the screen.
438 void SetDimming(bool should_dim
);
440 // Notifies |observers_| when entering or exiting fullscreen mode in
442 void NotifyFullscreenStateChange(bool is_fullscreen
,
443 aura::Window
* root_window
);
445 // Creates a modal background (a partially-opaque fullscreen window)
446 // on all displays for |window|.
447 void CreateModalBackground(aura::Window
* window
);
449 // Called when a modal window is removed. It will activate
450 // another modal window if any, or remove modal screens
452 void OnModalWindowRemoved(aura::Window
* removed
);
454 // Returns WebNotificationTray on the primary root window.
455 WebNotificationTray
* GetWebNotificationTray();
457 // Does the primary display have status area?
458 bool HasPrimaryStatusArea();
460 // Returns the system tray on primary display.
461 SystemTray
* GetPrimarySystemTray();
463 SystemTrayDelegate
* system_tray_delegate() {
464 return system_tray_delegate_
.get();
467 SystemTrayNotifier
* system_tray_notifier() {
468 return system_tray_notifier_
.get();
471 static void set_initially_hide_cursor(bool hide
) {
472 initially_hide_cursor_
= hide
;
475 internal::ResizeShadowController
* resize_shadow_controller() {
476 return resize_shadow_controller_
.get();
479 // Made available for tests.
480 views::corewm::ShadowController
* shadow_controller() {
481 return shadow_controller_
.get();
484 // Starts the animation that occurs on first login.
485 void DoInitialWorkspaceAnimation();
487 #if defined(OS_CHROMEOS) && defined(USE_X11)
488 // TODO(oshima): Move these objects to DisplayController.
489 chromeos::OutputConfigurator
* output_configurator() {
490 return output_configurator_
.get();
492 internal::OutputConfiguratorAnimation
* output_configurator_animation() {
493 return output_configurator_animation_
.get();
495 internal::DisplayErrorObserver
* display_error_observer() {
496 return display_error_observer_
.get();
498 #endif // defined(OS_CHROMEOS) && defined(USE_X11)
500 internal::ResolutionNotificationController
*
501 resolution_notification_controller() {
502 return resolution_notification_controller_
.get();
505 WindowTreeHostFactory
* root_window_host_factory() {
506 return root_window_host_factory_
.get();
509 ShelfModel
* shelf_model() {
510 return shelf_model_
.get();
513 WindowPositioner
* window_positioner() {
514 return window_positioner_
.get();
517 // Returns the launcher delegate, creating if necesary.
518 ShelfDelegate
* GetShelfDelegate();
520 UserMetricsRecorder
* metrics() {
521 return user_metrics_recorder_
.get();
524 void SetTouchHudProjectionEnabled(bool enabled
);
526 bool is_touch_hud_projection_enabled() const {
527 return is_touch_hud_projection_enabled_
;
530 #if defined(OS_CHROMEOS)
531 // Creates instance of FirstRunHelper. Caller is responsible for deleting
533 ash::FirstRunHelper
* CreateFirstRunHelper();
535 StickyKeysController
* sticky_keys_controller() {
536 return sticky_keys_controller_
.get();
538 #endif // defined(OS_CHROMEOS)
540 GPUSupport
* gpu_support() { return gpu_support_
.get(); }
541 void SetGPUSupport(scoped_ptr
<GPUSupport
> gpu_support
);
544 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest
, TestCursor
);
545 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest
, MouseEventCursors
);
546 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest
, TransformActivate
);
547 friend class internal::RootWindowController
;
548 friend class internal::ScopedTargetRootWindow
;
549 friend class test::ShellTestApi
;
550 friend class shell::WindowWatcher
;
552 typedef std::pair
<aura::Window
*, gfx::Rect
> WindowAndBoundsPair
;
554 // Takes ownership of |delegate|.
555 explicit Shell(ShellDelegate
* delegate
);
560 // Initializes virtual keyboard controller.
563 // Initializes the root window so that it can host browser windows.
564 void InitRootWindow(aura::Window
* root_window
);
566 // ash::internal::SystemModalContainerEventFilterDelegate overrides:
567 virtual bool CanWindowReceiveEvents(aura::Window
* window
) OVERRIDE
;
569 // Overridden from ui::EventTarget:
570 virtual bool CanAcceptEvent(const ui::Event
& event
) OVERRIDE
;
571 virtual EventTarget
* GetParentTarget() OVERRIDE
;
572 virtual scoped_ptr
<ui::EventTargetIterator
> GetChildIterator() const OVERRIDE
;
573 virtual ui::EventTargeter
* GetEventTargeter() OVERRIDE
;
574 virtual void OnEvent(ui::Event
* event
) OVERRIDE
;
576 // Overridden from aura::client::ActivationChangeObserver:
577 virtual void OnWindowActivated(aura::Window
* gained_active
,
578 aura::Window
* lost_active
) OVERRIDE
;
580 static Shell
* instance_
;
582 // If set before the Shell is initialized, the mouse cursor will be hidden
583 // when the screen is initially created.
584 static bool initially_hide_cursor_
;
586 // When no explicit target display/RootWindow is given, new windows are
587 // created on |scoped_target_root_window_| , unless NULL in
588 // which case they are created on |target_root_window_|.
589 // |target_root_window_| never becomes NULL during the session.
590 aura::Window
* target_root_window_
;
591 aura::Window
* scoped_target_root_window_
;
593 // The CompoundEventFilter owned by aura::Env object.
594 scoped_ptr
<views::corewm::CompoundEventFilter
> env_filter_
;
596 std::vector
<WindowAndBoundsPair
> to_restore_
;
598 scoped_ptr
<UserMetricsRecorder
> user_metrics_recorder_
;
599 scoped_ptr
<keyboard::KeyboardController
> keyboard_controller_
;
600 scoped_ptr
<NestedDispatcherController
> nested_dispatcher_controller_
;
601 scoped_ptr
<AcceleratorController
> accelerator_controller_
;
602 scoped_ptr
<ShellDelegate
> delegate_
;
603 scoped_ptr
<SystemTrayDelegate
> system_tray_delegate_
;
604 scoped_ptr
<SystemTrayNotifier
> system_tray_notifier_
;
605 scoped_ptr
<UserWallpaperDelegate
> user_wallpaper_delegate_
;
606 scoped_ptr
<CapsLockDelegate
> caps_lock_delegate_
;
607 scoped_ptr
<SessionStateDelegate
> session_state_delegate_
;
608 scoped_ptr
<AccessibilityDelegate
> accessibility_delegate_
;
609 scoped_ptr
<NewWindowDelegate
> new_window_delegate_
;
610 scoped_ptr
<MediaDelegate
> media_delegate_
;
611 scoped_ptr
<ShelfDelegate
> shelf_delegate_
;
612 scoped_ptr
<ShelfItemDelegateManager
> shelf_item_delegate_manager_
;
613 scoped_ptr
<internal::ShelfWindowWatcher
> shelf_window_watcher_
;
615 scoped_ptr
<ShelfModel
> shelf_model_
;
616 scoped_ptr
<WindowPositioner
> window_positioner_
;
618 scoped_ptr
<internal::AppListController
> app_list_controller_
;
620 scoped_ptr
<internal::DragDropController
> drag_drop_controller_
;
621 scoped_ptr
<internal::ResizeShadowController
> resize_shadow_controller_
;
622 scoped_ptr
<views::corewm::ShadowController
> shadow_controller_
;
623 scoped_ptr
<views::corewm::VisibilityController
> visibility_controller_
;
624 scoped_ptr
<views::corewm::WindowModalityController
>
625 window_modality_controller_
;
626 scoped_ptr
<views::corewm::TooltipController
> tooltip_controller_
;
627 scoped_ptr
<DesktopBackgroundController
> desktop_background_controller_
;
628 scoped_ptr
<PowerButtonController
> power_button_controller_
;
629 scoped_ptr
<LockStateController
> lock_state_controller_
;
630 scoped_ptr
<MruWindowTracker
> mru_window_tracker_
;
631 scoped_ptr
<UserActivityDetector
> user_activity_detector_
;
632 scoped_ptr
<VideoDetector
> video_detector_
;
633 scoped_ptr
<WindowCycleController
> window_cycle_controller_
;
634 scoped_ptr
<WindowSelectorController
> window_selector_controller_
;
635 scoped_ptr
<internal::FocusCycler
> focus_cycler_
;
636 scoped_ptr
<DisplayController
> display_controller_
;
637 scoped_ptr
<HighContrastController
> high_contrast_controller_
;
638 scoped_ptr
<MagnificationController
> magnification_controller_
;
639 scoped_ptr
<PartialMagnificationController
> partial_magnification_controller_
;
640 scoped_ptr
<AutoclickController
> autoclick_controller_
;
641 scoped_ptr
<aura::client::FocusClient
> focus_client_
;
642 scoped_ptr
<aura::client::UserActionClient
> user_action_client_
;
643 aura::client::ActivationClient
* activation_client_
;
644 scoped_ptr
<internal::MouseCursorEventFilter
> mouse_cursor_filter_
;
645 scoped_ptr
<internal::ScreenPositionController
> screen_position_controller_
;
646 scoped_ptr
<internal::SystemModalContainerEventFilter
> modality_filter_
;
647 scoped_ptr
<internal::EventClientImpl
> event_client_
;
648 scoped_ptr
<internal::EventTransformationHandler
>
649 event_transformation_handler_
;
650 scoped_ptr
<WindowTreeHostFactory
> root_window_host_factory_
;
652 // An event filter that rewrites or drops an event.
653 scoped_ptr
<internal::EventRewriterEventFilter
> event_rewriter_filter_
;
655 // An event filter that pre-handles key events while the partial
656 // screenshot UI or the keyboard overlay is active.
657 scoped_ptr
<internal::OverlayEventFilter
> overlay_filter_
;
659 // An event filter for logging keyboard-related metrics.
660 scoped_ptr
<internal::KeyboardUMAEventFilter
> keyboard_metrics_filter_
;
662 // An event filter which handles moving and resizing windows.
663 scoped_ptr
<ToplevelWindowEventHandler
> toplevel_window_event_handler_
;
665 // An event filter which handles system level gestures
666 scoped_ptr
<internal::SystemGestureEventFilter
> system_gesture_filter_
;
668 // An event filter that pre-handles global accelerators.
669 scoped_ptr
<internal::AcceleratorFilter
> accelerator_filter_
;
671 // An event filter that pre-handles all key events to send them to an IME.
672 scoped_ptr
<views::corewm::InputMethodEventFilter
> input_method_filter_
;
674 scoped_ptr
<internal::DisplayManager
> display_manager_
;
675 scoped_ptr
<base::WeakPtrFactory
<internal::DisplayManager
> >
676 weak_display_manager_factory_
;
678 scoped_ptr
<internal::LocaleNotificationController
>
679 locale_notification_controller_
;
681 #if defined(OS_CHROMEOS)
682 scoped_ptr
<internal::PowerEventObserver
> power_event_observer_
;
683 scoped_ptr
<internal::UserActivityNotifier
> user_activity_notifier_
;
684 scoped_ptr
<internal::VideoActivityNotifier
> video_activity_notifier_
;
685 scoped_ptr
<StickyKeysController
> sticky_keys_controller_
;
687 // Controls video output device state.
688 scoped_ptr
<chromeos::OutputConfigurator
> output_configurator_
;
689 scoped_ptr
<internal::OutputConfiguratorAnimation
>
690 output_configurator_animation_
;
691 scoped_ptr
<internal::DisplayErrorObserver
> display_error_observer_
;
693 // Listens for output changes and updates the display manager.
694 scoped_ptr
<internal::DisplayChangeObserver
> display_change_observer_
;
695 #endif // defined(USE_X11)
696 #endif // defined(OS_CHROMEOS)
698 scoped_ptr
<internal::ResolutionNotificationController
>
699 resolution_notification_controller_
;
701 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
702 // pointer to vend to test code.
703 AshNativeCursorManager
* native_cursor_manager_
;
704 views::corewm::CursorManager cursor_manager_
;
706 ObserverList
<ShellObserver
> observers_
;
708 // For testing only: simulate that a modal window is open
709 bool simulate_modal_window_open_for_testing_
;
711 bool is_touch_hud_projection_enabled_
;
713 // Injected content::GPUDataManager support.
714 scoped_ptr
<GPUSupport
> gpu_support_
;
716 DISALLOW_COPY_AND_ASSIGN(Shell
);
721 #endif // ASH_SHELL_H_