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

Side by Side Diff: ash/shell.h

Issue 15367003: Create a mirror window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/display/mirror_window_controller.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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 class AppListController; 103 class AppListController;
104 class CaptureController; 104 class CaptureController;
105 class DisplayChangeObserverX11; 105 class DisplayChangeObserverX11;
106 class DisplayErrorObserver; 106 class DisplayErrorObserver;
107 class DisplayManager; 107 class DisplayManager;
108 class DragDropController; 108 class DragDropController;
109 class EventClientImpl; 109 class EventClientImpl;
110 class EventRewriterEventFilter; 110 class EventRewriterEventFilter;
111 class EventTransformationHandler; 111 class EventTransformationHandler;
112 class FocusCycler; 112 class FocusCycler;
113 class MirrorWindowController;
113 class MouseCursorEventFilter; 114 class MouseCursorEventFilter;
114 class OutputConfiguratorAnimation; 115 class OutputConfiguratorAnimation;
115 class OverlayEventFilter; 116 class OverlayEventFilter;
116 class ResizeShadowController; 117 class ResizeShadowController;
117 class RootWindowController; 118 class RootWindowController;
118 class RootWindowLayoutManager; 119 class RootWindowLayoutManager;
119 class ScreenPositionController; 120 class ScreenPositionController;
120 class SlowAnimationEventFilter; 121 class SlowAnimationEventFilter;
121 class StatusAreaWidget; 122 class StatusAreaWidget;
122 class SystemGestureEventFilter; 123 class SystemGestureEventFilter;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 278
278 #if !defined(OS_MACOSX) 279 #if !defined(OS_MACOSX)
279 AcceleratorController* accelerator_controller() { 280 AcceleratorController* accelerator_controller() {
280 return accelerator_controller_.get(); 281 return accelerator_controller_.get();
281 } 282 }
282 #endif // !defined(OS_MACOSX) 283 #endif // !defined(OS_MACOSX)
283 284
284 internal::DisplayManager* display_manager() { 285 internal::DisplayManager* display_manager() {
285 return display_manager_.get(); 286 return display_manager_.get();
286 } 287 }
288 internal::MirrorWindowController* mirror_window_controller() {
289 return mirror_window_controller_.get();
290 }
287 views::corewm::InputMethodEventFilter* input_method_filter() { 291 views::corewm::InputMethodEventFilter* input_method_filter() {
288 return input_method_filter_.get(); 292 return input_method_filter_.get();
289 } 293 }
290 views::corewm::CompoundEventFilter* env_filter() { 294 views::corewm::CompoundEventFilter* env_filter() {
291 return env_filter_.get(); 295 return env_filter_.get();
292 } 296 }
293 views::corewm::TooltipController* tooltip_controller() { 297 views::corewm::TooltipController* tooltip_controller() {
294 return tooltip_controller_.get(); 298 return tooltip_controller_.get();
295 } 299 }
296 internal::EventRewriterEventFilter* event_rewriter_filter() { 300 internal::EventRewriterEventFilter* event_rewriter_filter() {
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 569
566 #if !defined(OS_MACOSX) 570 #if !defined(OS_MACOSX)
567 // An event filter that pre-handles global accelerators. 571 // An event filter that pre-handles global accelerators.
568 scoped_ptr<internal::AcceleratorFilter> accelerator_filter_; 572 scoped_ptr<internal::AcceleratorFilter> accelerator_filter_;
569 #endif 573 #endif
570 574
571 // An event filter that pre-handles all key events to send them to an IME. 575 // An event filter that pre-handles all key events to send them to an IME.
572 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_; 576 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_;
573 577
574 scoped_ptr<internal::DisplayManager> display_manager_; 578 scoped_ptr<internal::DisplayManager> display_manager_;
579 scoped_ptr<internal::MirrorWindowController> mirror_window_controller_;
575 580
576 #if defined(OS_CHROMEOS) && defined(USE_X11) 581 #if defined(OS_CHROMEOS) && defined(USE_X11)
577 // Controls video output device state. 582 // Controls video output device state.
578 scoped_ptr<chromeos::OutputConfigurator> output_configurator_; 583 scoped_ptr<chromeos::OutputConfigurator> output_configurator_;
579 scoped_ptr<internal::OutputConfiguratorAnimation> 584 scoped_ptr<internal::OutputConfiguratorAnimation>
580 output_configurator_animation_; 585 output_configurator_animation_;
581 scoped_ptr<internal::DisplayErrorObserver> display_error_observer_; 586 scoped_ptr<internal::DisplayErrorObserver> display_error_observer_;
582 587
583 // Receives output change events and udpates the display manager. 588 // Receives output change events and udpates the display manager.
584 scoped_ptr<internal::DisplayChangeObserverX11> display_change_observer_; 589 scoped_ptr<internal::DisplayChangeObserverX11> display_change_observer_;
(...skipping 11 matching lines...) Expand all
596 601
597 // For testing only: simulate that a modal window is open 602 // For testing only: simulate that a modal window is open
598 bool simulate_modal_window_open_for_testing_; 603 bool simulate_modal_window_open_for_testing_;
599 604
600 DISALLOW_COPY_AND_ASSIGN(Shell); 605 DISALLOW_COPY_AND_ASSIGN(Shell);
601 }; 606 };
602 607
603 } // namespace ash 608 } // namespace ash
604 609
605 #endif // ASH_SHELL_H_ 610 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/display/mirror_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698