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

Side by Side Diff: ash/shell.h

Issue 1909873002: Allow taking screen shot of a non child window which has delegate to paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/ash.gyp ('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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 class LogoutConfirmationController; 112 class LogoutConfirmationController;
113 class MagnificationController; 113 class MagnificationController;
114 class MaximizeModeController; 114 class MaximizeModeController;
115 class MaximizeModeWindowManager; 115 class MaximizeModeWindowManager;
116 class MediaDelegate; 116 class MediaDelegate;
117 class MouseCursorEventFilter; 117 class MouseCursorEventFilter;
118 class MruWindowTracker; 118 class MruWindowTracker;
119 class NewWindowDelegate; 119 class NewWindowDelegate;
120 class OverlayEventFilter; 120 class OverlayEventFilter;
121 class PartialMagnificationController; 121 class PartialMagnificationController;
122 class PartialScreenshotController;
123 class PointerWatcherDelegate; 122 class PointerWatcherDelegate;
124 class PowerButtonController; 123 class PowerButtonController;
125 class PowerEventObserver; 124 class PowerEventObserver;
126 class ProjectingObserver; 125 class ProjectingObserver;
127 class ResizeShadowController; 126 class ResizeShadowController;
128 class ResolutionNotificationController; 127 class ResolutionNotificationController;
129 class RootWindowController; 128 class RootWindowController;
130 class ScopedTargetRootWindow; 129 class ScopedTargetRootWindow;
131 class ScreenAsh; 130 class ScreenAsh;
132 class ScreenOrientationController; 131 class ScreenOrientationController;
132 class ScreenshotController;
133 class ScreenPositionController; 133 class ScreenPositionController;
134 class SessionStateDelegate; 134 class SessionStateDelegate;
135 class Shelf; 135 class Shelf;
136 class ShelfDelegate; 136 class ShelfDelegate;
137 class ShelfItemDelegateManager; 137 class ShelfItemDelegateManager;
138 class ShelfModel; 138 class ShelfModel;
139 class ShelfWindowWatcher; 139 class ShelfWindowWatcher;
140 class ShellDelegate; 140 class ShellDelegate;
141 struct ShellInitParams; 141 struct ShellInitParams;
142 class ShellObserver; 142 class ShellObserver;
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 return window_tree_host_manager_.get(); 398 return window_tree_host_manager_.get();
399 } 399 }
400 #if defined(OS_CHROMEOS) 400 #if defined(OS_CHROMEOS)
401 PowerEventObserver* power_event_observer() { 401 PowerEventObserver* power_event_observer() {
402 return power_event_observer_.get(); 402 return power_event_observer_.get();
403 } 403 }
404 TouchTransformerController* touch_transformer_controller() { 404 TouchTransformerController* touch_transformer_controller() {
405 return touch_transformer_controller_.get(); 405 return touch_transformer_controller_.get();
406 } 406 }
407 #endif // defined(OS_CHROMEOS) 407 #endif // defined(OS_CHROMEOS)
408 PartialScreenshotController* partial_screenshot_controller() { 408 ScreenshotController* screenshot_controller() {
409 return partial_screenshot_controller_.get(); 409 return screenshot_controller_.get();
410 } 410 }
411 MouseCursorEventFilter* mouse_cursor_filter() { 411 MouseCursorEventFilter* mouse_cursor_filter() {
412 return mouse_cursor_filter_.get(); 412 return mouse_cursor_filter_.get();
413 } 413 }
414 EventTransformationHandler* event_transformation_handler() { 414 EventTransformationHandler* event_transformation_handler() {
415 return event_transformation_handler_.get(); 415 return event_transformation_handler_.get();
416 } 416 }
417 ::wm::CursorManager* cursor_manager() { return cursor_manager_.get(); } 417 ::wm::CursorManager* cursor_manager() { return cursor_manager_.get(); }
418 418
419 ShellDelegate* delegate() { return delegate_.get(); } 419 ShellDelegate* delegate() { return delegate_.get(); }
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 std::unique_ptr<WindowTreeHostManager> window_tree_host_manager_; 711 std::unique_ptr<WindowTreeHostManager> window_tree_host_manager_;
712 std::unique_ptr<HighContrastController> high_contrast_controller_; 712 std::unique_ptr<HighContrastController> high_contrast_controller_;
713 std::unique_ptr<MagnificationController> magnification_controller_; 713 std::unique_ptr<MagnificationController> magnification_controller_;
714 std::unique_ptr<PartialMagnificationController> 714 std::unique_ptr<PartialMagnificationController>
715 partial_magnification_controller_; 715 partial_magnification_controller_;
716 std::unique_ptr<AutoclickController> autoclick_controller_; 716 std::unique_ptr<AutoclickController> autoclick_controller_;
717 std::unique_ptr<aura::client::FocusClient> focus_client_; 717 std::unique_ptr<aura::client::FocusClient> focus_client_;
718 718
719 aura::client::ActivationClient* activation_client_; 719 aura::client::ActivationClient* activation_client_;
720 720
721 std::unique_ptr<PartialScreenshotController> partial_screenshot_controller_; 721 std::unique_ptr<ScreenshotController> screenshot_controller_;
722 722
723 std::unique_ptr<MouseCursorEventFilter> mouse_cursor_filter_; 723 std::unique_ptr<MouseCursorEventFilter> mouse_cursor_filter_;
724 std::unique_ptr<ScreenPositionController> screen_position_controller_; 724 std::unique_ptr<ScreenPositionController> screen_position_controller_;
725 std::unique_ptr<SystemModalContainerEventFilter> modality_filter_; 725 std::unique_ptr<SystemModalContainerEventFilter> modality_filter_;
726 std::unique_ptr<EventClientImpl> event_client_; 726 std::unique_ptr<EventClientImpl> event_client_;
727 std::unique_ptr<EventTransformationHandler> event_transformation_handler_; 727 std::unique_ptr<EventTransformationHandler> event_transformation_handler_;
728 728
729 // An event filter that pre-handles key events while the partial 729 // An event filter that pre-handles key events while the partial
730 // screenshot UI or the keyboard overlay is active. 730 // screenshot UI or the keyboard overlay is active.
731 std::unique_ptr<OverlayEventFilter> overlay_filter_; 731 std::unique_ptr<OverlayEventFilter> overlay_filter_;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 bool in_mus_ = false; 806 bool in_mus_ = false;
807 807
808 std::unique_ptr<KeyboardUI> keyboard_ui_; 808 std::unique_ptr<KeyboardUI> keyboard_ui_;
809 809
810 DISALLOW_COPY_AND_ASSIGN(Shell); 810 DISALLOW_COPY_AND_ASSIGN(Shell);
811 }; 811 };
812 812
813 } // namespace ash 813 } // namespace ash
814 814
815 #endif // ASH_SHELL_H_ 815 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698