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

Side by Side Diff: ash/shell.h

Issue 2170753005: Moves AcceleratorController from Shell to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include 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
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.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 <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 namespace wm { 69 namespace wm {
70 class AcceleratorFilter; 70 class AcceleratorFilter;
71 class CompoundEventFilter; 71 class CompoundEventFilter;
72 class ShadowController; 72 class ShadowController;
73 class VisibilityController; 73 class VisibilityController;
74 class WindowModalityController; 74 class WindowModalityController;
75 } 75 }
76 76
77 namespace ash { 77 namespace ash {
78 78
79 class AcceleratorController;
80 class AcceleratorControllerDelegateAura; 79 class AcceleratorControllerDelegateAura;
81 class AshNativeCursorManager; 80 class AshNativeCursorManager;
82 class AutoclickController; 81 class AutoclickController;
83 class BluetoothNotificationController; 82 class BluetoothNotificationController;
84 class CaptureController; 83 class CaptureController;
85 class DesktopBackgroundController; 84 class DesktopBackgroundController;
86 class DisplayChangeObserver; 85 class DisplayChangeObserver;
87 class DisplayColorManager; 86 class DisplayColorManager;
88 class DisplayConfigurationController; 87 class DisplayConfigurationController;
89 class WindowTreeHostManager; 88 class WindowTreeHostManager;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 void RemovePointerDownWatcher(views::PointerDownWatcher* watcher); 278 void RemovePointerDownWatcher(views::PointerDownWatcher* watcher);
280 279
281 #if defined(OS_CHROMEOS) 280 #if defined(OS_CHROMEOS)
282 // Test if MaximizeModeWindowManager is not enabled, and if 281 // Test if MaximizeModeWindowManager is not enabled, and if
283 // MaximizeModeController is not currently setting a display rotation. Or if 282 // MaximizeModeController is not currently setting a display rotation. Or if
284 // the |resolution_notification_controller_| is not showing its confirmation 283 // the |resolution_notification_controller_| is not showing its confirmation
285 // dialog. If true then changes to display settings can be saved. 284 // dialog. If true then changes to display settings can be saved.
286 bool ShouldSaveDisplaySettings(); 285 bool ShouldSaveDisplaySettings();
287 #endif 286 #endif
288 287
289 AcceleratorController* accelerator_controller() {
290 return accelerator_controller_.get();
291 }
292 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { 288 AcceleratorControllerDelegateAura* accelerator_controller_delegate() {
293 return accelerator_controller_delegate_.get(); 289 return accelerator_controller_delegate_.get();
294 } 290 }
295 291
296 DisplayManager* display_manager() { return display_manager_.get(); } 292 DisplayManager* display_manager() { return display_manager_.get(); }
297 DisplayConfigurationController* display_configuration_controller() { 293 DisplayConfigurationController* display_configuration_controller() {
298 return display_configuration_controller_.get(); 294 return display_configuration_controller_.get();
299 } 295 }
300 ::wm::CompoundEventFilter* env_filter() { return env_filter_.get(); } 296 ::wm::CompoundEventFilter* env_filter() { return env_filter_.get(); }
301 views::corewm::TooltipController* tooltip_controller() { 297 views::corewm::TooltipController* tooltip_controller() {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 aura::Window* scoped_target_root_window_; 549 aura::Window* scoped_target_root_window_;
554 550
555 // The CompoundEventFilter owned by aura::Env object. 551 // The CompoundEventFilter owned by aura::Env object.
556 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; 552 std::unique_ptr<::wm::CompoundEventFilter> env_filter_;
557 553
558 std::vector<WindowAndBoundsPair> to_restore_; 554 std::vector<WindowAndBoundsPair> to_restore_;
559 555
560 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; 556 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_;
561 std::unique_ptr<AcceleratorControllerDelegateAura> 557 std::unique_ptr<AcceleratorControllerDelegateAura>
562 accelerator_controller_delegate_; 558 accelerator_controller_delegate_;
563 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_; 564 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_;
570 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; 565 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
571 std::unique_ptr<WindowPositioner> window_positioner_; 566 std::unique_ptr<WindowPositioner> window_positioner_;
572 567
573 std::unique_ptr<DragDropController> drag_drop_controller_; 568 std::unique_ptr<DragDropController> drag_drop_controller_;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 base::SequencedWorkerPool* blocking_pool_; 666 base::SequencedWorkerPool* blocking_pool_;
672 667
673 bool in_mus_ = false; 668 bool in_mus_ = false;
674 669
675 DISALLOW_COPY_AND_ASSIGN(Shell); 670 DISALLOW_COPY_AND_ASSIGN(Shell);
676 }; 671 };
677 672
678 } // namespace ash 673 } // namespace ash
679 674
680 #endif // ASH_SHELL_H_ 675 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698