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

Side by Side Diff: ash/shell.h

Issue 2171813004: mash: Fold ShelfItemDelegateManager into ShelfModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 5 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
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 <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 class ScopedOverviewAnimationSettingsFactoryAura; 116 class ScopedOverviewAnimationSettingsFactoryAura;
117 class ScopedTargetRootWindow; 117 class ScopedTargetRootWindow;
118 class ScreenAsh; 118 class ScreenAsh;
119 class ScreenOrientationController; 119 class ScreenOrientationController;
120 class ScreenshotController; 120 class ScreenshotController;
121 class ScreenPinningController; 121 class ScreenPinningController;
122 class ScreenPositionController; 122 class ScreenPositionController;
123 class SessionStateDelegate; 123 class SessionStateDelegate;
124 class Shelf; 124 class Shelf;
125 class ShelfDelegate; 125 class ShelfDelegate;
126 class ShelfItemDelegateManager;
127 class ShelfWindowWatcher; 126 class ShelfWindowWatcher;
128 class ShellDelegate; 127 class ShellDelegate;
129 struct ShellInitParams; 128 struct ShellInitParams;
130 class SlowAnimationEventFilter; 129 class SlowAnimationEventFilter;
131 class StatusAreaWidget; 130 class StatusAreaWidget;
132 class StickyKeysController; 131 class StickyKeysController;
133 class SystemGestureEventFilter; 132 class SystemGestureEventFilter;
134 class SystemModalContainerEventFilter; 133 class SystemModalContainerEventFilter;
135 class SystemTray; 134 class SystemTray;
136 class ToplevelWindowEventHandler; 135 class ToplevelWindowEventHandler;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 } 365 }
367 366
368 AutoclickController* autoclick_controller() { 367 AutoclickController* autoclick_controller() {
369 return autoclick_controller_.get(); 368 return autoclick_controller_.get();
370 } 369 }
371 370
372 aura::client::ActivationClient* activation_client() { 371 aura::client::ActivationClient* activation_client() {
373 return activation_client_; 372 return activation_client_;
374 } 373 }
375 374
376 ShelfItemDelegateManager* shelf_item_delegate_manager() {
377 return shelf_item_delegate_manager_.get();
378 }
379
380 base::SequencedWorkerPool* blocking_pool() { return blocking_pool_; } 375 base::SequencedWorkerPool* blocking_pool() { return blocking_pool_; }
381 376
382 // Force the shelf to query for it's current visibility state. 377 // Force the shelf to query for it's current visibility state.
383 // TODO(jamescook): Move to Shelf. 378 // TODO(jamescook): Move to Shelf.
384 void UpdateShelfVisibility(); 379 void UpdateShelfVisibility();
385 380
386 // Called when the alignment for a shelf changes. 381 // Called when the alignment for a shelf changes.
387 // TODO(jamescook): Move to Shelf. 382 // TODO(jamescook): Move to Shelf.
388 void OnShelfAlignmentChanged(WmWindow* root_window); 383 void OnShelfAlignmentChanged(WmWindow* root_window);
389 384
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 554
560 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; 555 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_;
561 std::unique_ptr<AcceleratorControllerDelegateAura> 556 std::unique_ptr<AcceleratorControllerDelegateAura>
562 accelerator_controller_delegate_; 557 accelerator_controller_delegate_;
563 std::unique_ptr<AcceleratorController> accelerator_controller_; 558 std::unique_ptr<AcceleratorController> accelerator_controller_;
564 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; 559 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_;
565 std::unique_ptr<SessionStateDelegate> session_state_delegate_; 560 std::unique_ptr<SessionStateDelegate> session_state_delegate_;
566 std::unique_ptr<NewWindowDelegate> new_window_delegate_; 561 std::unique_ptr<NewWindowDelegate> new_window_delegate_;
567 std::unique_ptr<PointerDownWatcherDelegate> pointer_down_watcher_delegate_; 562 std::unique_ptr<PointerDownWatcherDelegate> pointer_down_watcher_delegate_;
568 std::unique_ptr<ShelfDelegate> shelf_delegate_; 563 std::unique_ptr<ShelfDelegate> shelf_delegate_;
569 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_;
570 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; 564 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
571 std::unique_ptr<WindowPositioner> window_positioner_; 565 std::unique_ptr<WindowPositioner> window_positioner_;
572 566
573 std::unique_ptr<DragDropController> drag_drop_controller_; 567 std::unique_ptr<DragDropController> drag_drop_controller_;
574 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; 568 std::unique_ptr<ResizeShadowController> resize_shadow_controller_;
575 std::unique_ptr<::wm::ShadowController> shadow_controller_; 569 std::unique_ptr<::wm::ShadowController> shadow_controller_;
576 std::unique_ptr<::wm::VisibilityController> visibility_controller_; 570 std::unique_ptr<::wm::VisibilityController> visibility_controller_;
577 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; 571 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_;
578 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; 572 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_;
579 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_; 573 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 base::SequencedWorkerPool* blocking_pool_; 665 base::SequencedWorkerPool* blocking_pool_;
672 666
673 bool in_mus_ = false; 667 bool in_mus_ = false;
674 668
675 DISALLOW_COPY_AND_ASSIGN(Shell); 669 DISALLOW_COPY_AND_ASSIGN(Shell);
676 }; 670 };
677 671
678 } // namespace ash 672 } // namespace ash
679 673
680 #endif // ASH_SHELL_H_ 674 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698