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

Side by Side Diff: ash/shell.h

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 years, 6 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_locking_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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 class ResizeShadowController; 136 class ResizeShadowController;
137 class ResolutionNotificationController; 137 class ResolutionNotificationController;
138 class RootWindowController; 138 class RootWindowController;
139 class ShellPort; 139 class ShellPort;
140 class ScreenLayoutObserver; 140 class ScreenLayoutObserver;
141 class ScreenOrientationController; 141 class ScreenOrientationController;
142 class ScreenshotController; 142 class ScreenshotController;
143 class ScreenPinningController; 143 class ScreenPinningController;
144 class ScreenPositionController; 144 class ScreenPositionController;
145 class SessionController; 145 class SessionController;
146 class SessionStateDelegate;
147 class ShelfController; 146 class ShelfController;
148 class ShelfModel; 147 class ShelfModel;
149 class ShelfWindowWatcher; 148 class ShelfWindowWatcher;
150 class ShellDelegate; 149 class ShellDelegate;
151 struct ShellInitParams; 150 struct ShellInitParams;
152 class ShellObserver; 151 class ShellObserver;
153 class ShutdownController; 152 class ShutdownController;
154 class ShutdownObserver; 153 class ShutdownObserver;
155 class SmsObserver; 154 class SmsObserver;
156 class StickyKeysController; 155 class StickyKeysController;
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 return screenshot_controller_.get(); 408 return screenshot_controller_.get();
410 } 409 }
411 MouseCursorEventFilter* mouse_cursor_filter() { 410 MouseCursorEventFilter* mouse_cursor_filter() {
412 return mouse_cursor_filter_.get(); 411 return mouse_cursor_filter_.get();
413 } 412 }
414 EventTransformationHandler* event_transformation_handler() { 413 EventTransformationHandler* event_transformation_handler() {
415 return event_transformation_handler_.get(); 414 return event_transformation_handler_.get();
416 } 415 }
417 ::wm::CursorManager* cursor_manager() { return cursor_manager_.get(); } 416 ::wm::CursorManager* cursor_manager() { return cursor_manager_.get(); }
418 417
419 SessionStateDelegate* session_state_delegate() {
420 return session_state_delegate_.get();
421 }
422
423 HighContrastController* high_contrast_controller() { 418 HighContrastController* high_contrast_controller() {
424 return high_contrast_controller_.get(); 419 return high_contrast_controller_.get();
425 } 420 }
426 421
427 MagnificationController* magnification_controller() { 422 MagnificationController* magnification_controller() {
428 return magnification_controller_.get(); 423 return magnification_controller_.get();
429 } 424 }
430 425
431 AutoclickController* autoclick_controller() { 426 AutoclickController* autoclick_controller() {
432 return autoclick_controller_.get(); 427 return autoclick_controller_.get();
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 // If set before the Shell is initialized, the mouse cursor will be hidden 670 // If set before the Shell is initialized, the mouse cursor will be hidden
676 // when the screen is initially created. 671 // when the screen is initially created.
677 static bool initially_hide_cursor_; 672 static bool initially_hide_cursor_;
678 673
679 std::unique_ptr<ShellPort> shell_port_; 674 std::unique_ptr<ShellPort> shell_port_;
680 675
681 // The CompoundEventFilter owned by aura::Env object. 676 // The CompoundEventFilter owned by aura::Env object.
682 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; 677 std::unique_ptr<::wm::CompoundEventFilter> env_filter_;
683 678
684 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; 679 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_;
685 std::unique_ptr<SessionStateDelegate> session_state_delegate_;
686 std::unique_ptr<WindowPositioner> window_positioner_; 680 std::unique_ptr<WindowPositioner> window_positioner_;
687 681
688 std::unique_ptr<AcceleratorController> accelerator_controller_; 682 std::unique_ptr<AcceleratorController> accelerator_controller_;
689 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; 683 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_;
690 std::unique_ptr<BrightnessControlDelegate> brightness_control_delegate_; 684 std::unique_ptr<BrightnessControlDelegate> brightness_control_delegate_;
691 std::unique_ptr<CastConfigController> cast_config_; 685 std::unique_ptr<CastConfigController> cast_config_;
692 std::unique_ptr<DragDropController> drag_drop_controller_; 686 std::unique_ptr<DragDropController> drag_drop_controller_;
693 std::unique_ptr<FocusCycler> focus_cycler_; 687 std::unique_ptr<FocusCycler> focus_cycler_;
694 std::unique_ptr<ImmersiveContextAsh> immersive_context_; 688 std::unique_ptr<ImmersiveContextAsh> immersive_context_;
695 std::unique_ptr<KeyboardBrightnessControlDelegate> 689 std::unique_ptr<KeyboardBrightnessControlDelegate>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 base::ObserverList<ShellObserver> shell_observers_; 828 base::ObserverList<ShellObserver> shell_observers_;
835 829
836 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 830 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
837 831
838 DISALLOW_COPY_AND_ASSIGN(Shell); 832 DISALLOW_COPY_AND_ASSIGN(Shell);
839 }; 833 };
840 834
841 } // namespace ash 835 } // namespace ash
842 836
843 #endif // ASH_SHELL_H_ 837 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_locking_manager_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698