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

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: Fix Linux Compile 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
« no previous file with comments | « ash/content/display/screen_orientation_delegate_chromeos_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 <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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 } 533 }
534 534
535 ResolutionNotificationController* resolution_notification_controller() { 535 ResolutionNotificationController* resolution_notification_controller() {
536 return resolution_notification_controller_.get(); 536 return resolution_notification_controller_.get();
537 } 537 }
538 538
539 LogoutConfirmationController* logout_confirmation_controller() { 539 LogoutConfirmationController* logout_confirmation_controller() {
540 return logout_confirmation_controller_.get(); 540 return logout_confirmation_controller_.get();
541 } 541 }
542 542
543 ScreenOrientationDelegate* screen_orientation_delegate() { 543 ScreenOrientationController* screen_orientation_controller() {
544 return screen_orientation_delegate_.get(); 544 return screen_orientation_controller_.get();
545 } 545 }
546 546
547 VirtualKeyboardController* virtual_keyboard_controller() { 547 VirtualKeyboardController* virtual_keyboard_controller() {
548 return virtual_keyboard_controller_.get(); 548 return virtual_keyboard_controller_.get();
549 } 549 }
550 #endif // defined(OS_CHROMEOS) 550 #endif // defined(OS_CHROMEOS)
551 551
552 ShelfModel* shelf_model() { 552 ShelfModel* shelf_model() {
553 return shelf_model_.get(); 553 return shelf_model_.get();
554 } 554 }
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_; 729 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_;
730 // Controls video output device state. 730 // Controls video output device state.
731 scoped_ptr<ui::DisplayConfigurator> display_configurator_; 731 scoped_ptr<ui::DisplayConfigurator> display_configurator_;
732 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; 732 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_;
733 scoped_ptr<DisplayErrorObserver> display_error_observer_; 733 scoped_ptr<DisplayErrorObserver> display_error_observer_;
734 scoped_ptr<ProjectingObserver> projecting_observer_; 734 scoped_ptr<ProjectingObserver> projecting_observer_;
735 735
736 // Listens for output changes and updates the display manager. 736 // Listens for output changes and updates the display manager.
737 scoped_ptr<DisplayChangeObserver> display_change_observer_; 737 scoped_ptr<DisplayChangeObserver> display_change_observer_;
738 738
739 // Implements content::ScreenOrientationDelegate for ChromeOS 739 // Implements content::ScreenOrientationController for ChromeOS
740 scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; 740 scoped_ptr<ScreenOrientationController> screen_orientation_controller_;
741 741
742 scoped_ptr<TouchTransformerController> touch_transformer_controller_; 742 scoped_ptr<TouchTransformerController> touch_transformer_controller_;
743 743
744 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; 744 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_;
745 scoped_ptr<ui::EventHandler> speech_feedback_handler_; 745 scoped_ptr<ui::EventHandler> speech_feedback_handler_;
746 #endif // defined(OS_CHROMEOS) 746 #endif // defined(OS_CHROMEOS)
747 747
748 scoped_ptr<MaximizeModeController> maximize_mode_controller_; 748 scoped_ptr<MaximizeModeController> maximize_mode_controller_;
749 749
750 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a 750 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
(...skipping 17 matching lines...) Expand all
768 768
769 // Injected content::GPUDataManager support. 769 // Injected content::GPUDataManager support.
770 scoped_ptr<GPUSupport> gpu_support_; 770 scoped_ptr<GPUSupport> gpu_support_;
771 771
772 DISALLOW_COPY_AND_ASSIGN(Shell); 772 DISALLOW_COPY_AND_ASSIGN(Shell);
773 }; 773 };
774 774
775 } // namespace ash 775 } // namespace ash
776 776
777 #endif // ASH_SHELL_H_ 777 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/content/display/screen_orientation_delegate_chromeos_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698