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

Side by Side Diff: ash/shell.h

Issue 20708005: Refactor most recently used window tracking into a separate class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments. Created 7 years, 4 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.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class AcceleratorController; 73 class AcceleratorController;
74 class AshNativeCursorManager; 74 class AshNativeCursorManager;
75 class CapsLockDelegate; 75 class CapsLockDelegate;
76 class DesktopBackgroundController; 76 class DesktopBackgroundController;
77 class DisplayController; 77 class DisplayController;
78 class HighContrastController; 78 class HighContrastController;
79 class Launcher; 79 class Launcher;
80 class LauncherDelegate; 80 class LauncherDelegate;
81 class LauncherModel; 81 class LauncherModel;
82 class MagnificationController; 82 class MagnificationController;
83 class MruWindowTracker;
83 class NestedDispatcherController; 84 class NestedDispatcherController;
84 class PartialMagnificationController; 85 class PartialMagnificationController;
85 class PowerButtonController; 86 class PowerButtonController;
86 class RootWindowHostFactory; 87 class RootWindowHostFactory;
87 class ScreenAsh; 88 class ScreenAsh;
88 class LockStateController; 89 class LockStateController;
89 class SessionStateDelegate; 90 class SessionStateDelegate;
90 class ShellDelegate; 91 class ShellDelegate;
91 class ShellObserver; 92 class ShellObserver;
92 class SystemTray; 93 class SystemTray;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 } 304 }
304 DesktopBackgroundController* desktop_background_controller() { 305 DesktopBackgroundController* desktop_background_controller() {
305 return desktop_background_controller_.get(); 306 return desktop_background_controller_.get();
306 } 307 }
307 PowerButtonController* power_button_controller() { 308 PowerButtonController* power_button_controller() {
308 return power_button_controller_.get(); 309 return power_button_controller_.get();
309 } 310 }
310 LockStateController* lock_state_controller() { 311 LockStateController* lock_state_controller() {
311 return lock_state_controller_.get(); 312 return lock_state_controller_.get();
312 } 313 }
314 MruWindowTracker* mru_window_tracker() {
315 return mru_window_tracker_.get();
316 }
313 UserActivityDetector* user_activity_detector() { 317 UserActivityDetector* user_activity_detector() {
314 return user_activity_detector_.get(); 318 return user_activity_detector_.get();
315 } 319 }
316 VideoDetector* video_detector() { 320 VideoDetector* video_detector() {
317 return video_detector_.get(); 321 return video_detector_.get();
318 } 322 }
319 WindowCycleController* window_cycle_controller() { 323 WindowCycleController* window_cycle_controller() {
320 return window_cycle_controller_.get(); 324 return window_cycle_controller_.get();
321 } 325 }
322 internal::FocusCycler* focus_cycler() { 326 internal::FocusCycler* focus_cycler() {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 scoped_ptr<internal::DragDropController> drag_drop_controller_; 541 scoped_ptr<internal::DragDropController> drag_drop_controller_;
538 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; 542 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_;
539 scoped_ptr<views::corewm::ShadowController> shadow_controller_; 543 scoped_ptr<views::corewm::ShadowController> shadow_controller_;
540 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; 544 scoped_ptr<views::corewm::VisibilityController> visibility_controller_;
541 scoped_ptr<views::corewm::WindowModalityController> 545 scoped_ptr<views::corewm::WindowModalityController>
542 window_modality_controller_; 546 window_modality_controller_;
543 scoped_ptr<views::corewm::TooltipController> tooltip_controller_; 547 scoped_ptr<views::corewm::TooltipController> tooltip_controller_;
544 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; 548 scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
545 scoped_ptr<PowerButtonController> power_button_controller_; 549 scoped_ptr<PowerButtonController> power_button_controller_;
546 scoped_ptr<LockStateController> lock_state_controller_; 550 scoped_ptr<LockStateController> lock_state_controller_;
551 scoped_ptr<MruWindowTracker> mru_window_tracker_;
547 scoped_ptr<UserActivityDetector> user_activity_detector_; 552 scoped_ptr<UserActivityDetector> user_activity_detector_;
548 scoped_ptr<VideoDetector> video_detector_; 553 scoped_ptr<VideoDetector> video_detector_;
549 scoped_ptr<WindowCycleController> window_cycle_controller_; 554 scoped_ptr<WindowCycleController> window_cycle_controller_;
550 scoped_ptr<internal::FocusCycler> focus_cycler_; 555 scoped_ptr<internal::FocusCycler> focus_cycler_;
551 scoped_ptr<DisplayController> display_controller_; 556 scoped_ptr<DisplayController> display_controller_;
552 scoped_ptr<HighContrastController> high_contrast_controller_; 557 scoped_ptr<HighContrastController> high_contrast_controller_;
553 scoped_ptr<MagnificationController> magnification_controller_; 558 scoped_ptr<MagnificationController> magnification_controller_;
554 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; 559 scoped_ptr<PartialMagnificationController> partial_magnification_controller_;
555 scoped_ptr<aura::client::FocusClient> focus_client_; 560 scoped_ptr<aura::client::FocusClient> focus_client_;
556 scoped_ptr<aura::client::UserActionClient> user_action_client_; 561 scoped_ptr<aura::client::UserActionClient> user_action_client_;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 bool simulate_modal_window_open_for_testing_; 613 bool simulate_modal_window_open_for_testing_;
609 614
610 bool is_touch_hud_projection_enabled_; 615 bool is_touch_hud_projection_enabled_;
611 616
612 DISALLOW_COPY_AND_ASSIGN(Shell); 617 DISALLOW_COPY_AND_ASSIGN(Shell);
613 }; 618 };
614 619
615 } // namespace ash 620 } // namespace ash
616 621
617 #endif // ASH_SHELL_H_ 622 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698