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

Side by Side Diff: ash/shell.h

Issue 759063002: Move Screen Rotation from MaximizeModeController to ScreenOrientationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Helper code Created 5 years, 11 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 <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 class OverlayEventFilter; 116 class OverlayEventFilter;
117 class PartialMagnificationController; 117 class PartialMagnificationController;
118 class PowerButtonController; 118 class PowerButtonController;
119 class PowerEventObserver; 119 class PowerEventObserver;
120 class ProjectingObserver; 120 class ProjectingObserver;
121 class ResizeShadowController; 121 class ResizeShadowController;
122 class ResolutionNotificationController; 122 class ResolutionNotificationController;
123 class RootWindowController; 123 class RootWindowController;
124 class ScopedTargetRootWindow; 124 class ScopedTargetRootWindow;
125 class ScreenAsh; 125 class ScreenAsh;
126 class ScreenOrientationDelegate; 126 class ScreenOrientationController;
127 class ScreenPositionController; 127 class ScreenPositionController;
128 class SessionStateDelegate; 128 class SessionStateDelegate;
129 class Shelf; 129 class Shelf;
130 class ShelfDelegate; 130 class ShelfDelegate;
131 class ShelfItemDelegateManager; 131 class ShelfItemDelegateManager;
132 class ShelfModel; 132 class ShelfModel;
133 class ShelfWindowWatcher; 133 class ShelfWindowWatcher;
134 class ShellDelegate; 134 class ShellDelegate;
135 struct ShellInitParams; 135 struct ShellInitParams;
136 class ShellObserver; 136 class ShellObserver;
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 } 534 }
535 535
536 ResolutionNotificationController* resolution_notification_controller() { 536 ResolutionNotificationController* resolution_notification_controller() {
537 return resolution_notification_controller_.get(); 537 return resolution_notification_controller_.get();
538 } 538 }
539 539
540 LogoutConfirmationController* logout_confirmation_controller() { 540 LogoutConfirmationController* logout_confirmation_controller() {
541 return logout_confirmation_controller_.get(); 541 return logout_confirmation_controller_.get();
542 } 542 }
543 543
544 ScreenOrientationDelegate* screen_orientation_delegate() { 544 ScreenOrientationController* screen_orientation_controller() {
545 return screen_orientation_delegate_.get(); 545 return screen_orientation_controller_.get();
546 } 546 }
547 547
548 VirtualKeyboardController* virtual_keyboard_controller() { 548 VirtualKeyboardController* virtual_keyboard_controller() {
549 return virtual_keyboard_controller_.get(); 549 return virtual_keyboard_controller_.get();
550 } 550 }
551 #endif // defined(OS_CHROMEOS) 551 #endif // defined(OS_CHROMEOS)
552 552
553 ShelfModel* shelf_model() { 553 ShelfModel* shelf_model() {
554 return shelf_model_.get(); 554 return shelf_model_.get();
555 } 555 }
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_; 730 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_;
731 // Controls video output device state. 731 // Controls video output device state.
732 scoped_ptr<ui::DisplayConfigurator> display_configurator_; 732 scoped_ptr<ui::DisplayConfigurator> display_configurator_;
733 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; 733 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_;
734 scoped_ptr<DisplayErrorObserver> display_error_observer_; 734 scoped_ptr<DisplayErrorObserver> display_error_observer_;
735 scoped_ptr<ProjectingObserver> projecting_observer_; 735 scoped_ptr<ProjectingObserver> projecting_observer_;
736 736
737 // Listens for output changes and updates the display manager. 737 // Listens for output changes and updates the display manager.
738 scoped_ptr<DisplayChangeObserver> display_change_observer_; 738 scoped_ptr<DisplayChangeObserver> display_change_observer_;
739 739
740 // Implements content::ScreenOrientationDelegate for ChromeOS 740 // Implements content::ScreenOrientationController for ChromeOS
741 scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; 741 scoped_ptr<ScreenOrientationController> screen_orientation_controller_;
742 742
743 scoped_ptr<TouchTransformerController> touch_transformer_controller_; 743 scoped_ptr<TouchTransformerController> touch_transformer_controller_;
744 744
745 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; 745 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_;
746 scoped_ptr<ui::EventHandler> speech_feedback_handler_; 746 scoped_ptr<ui::EventHandler> speech_feedback_handler_;
747 #endif // defined(OS_CHROMEOS) 747 #endif // defined(OS_CHROMEOS)
748 748
749 scoped_ptr<MaximizeModeController> maximize_mode_controller_; 749 scoped_ptr<MaximizeModeController> maximize_mode_controller_;
750 750
751 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a 751 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
(...skipping 17 matching lines...) Expand all
769 769
770 // Injected content::GPUDataManager support. 770 // Injected content::GPUDataManager support.
771 scoped_ptr<GPUSupport> gpu_support_; 771 scoped_ptr<GPUSupport> gpu_support_;
772 772
773 DISALLOW_COPY_AND_ASSIGN(Shell); 773 DISALLOW_COPY_AND_ASSIGN(Shell);
774 }; 774 };
775 775
776 } // namespace ash 776 } // namespace ash
777 777
778 #endif // ASH_SHELL_H_ 778 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698