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

Side by Side Diff: ash/shell.h

Issue 214693010: Remove USE_X11==1 check when including OutputConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 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/display_manager.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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 // Made available for tests. 495 // Made available for tests.
496 ::wm::ShadowController* shadow_controller() { 496 ::wm::ShadowController* shadow_controller() {
497 return shadow_controller_.get(); 497 return shadow_controller_.get();
498 } 498 }
499 499
500 // Starts the animation that occurs on first login. 500 // Starts the animation that occurs on first login.
501 void DoInitialWorkspaceAnimation(); 501 void DoInitialWorkspaceAnimation();
502 502
503 #if defined(OS_CHROMEOS) 503 #if defined(OS_CHROMEOS)
504 #if defined(USE_X11)
505 // TODO(oshima): Move these objects to DisplayController. 504 // TODO(oshima): Move these objects to DisplayController.
506 ui::OutputConfigurator* output_configurator() { 505 ui::OutputConfigurator* output_configurator() {
507 return output_configurator_.get(); 506 return output_configurator_.get();
508 } 507 }
509 internal::OutputConfiguratorAnimation* output_configurator_animation() { 508 internal::OutputConfiguratorAnimation* output_configurator_animation() {
510 return output_configurator_animation_.get(); 509 return output_configurator_animation_.get();
511 } 510 }
512 internal::DisplayErrorObserver* display_error_observer() { 511 internal::DisplayErrorObserver* display_error_observer() {
513 return display_error_observer_.get(); 512 return display_error_observer_.get();
514 } 513 }
515 #endif // defined(USE_X11)
516 514
517 internal::ResolutionNotificationController* 515 internal::ResolutionNotificationController*
518 resolution_notification_controller() { 516 resolution_notification_controller() {
519 return resolution_notification_controller_.get(); 517 return resolution_notification_controller_.get();
520 } 518 }
521 519
522 internal::LogoutConfirmationController* logout_confirmation_controller() { 520 internal::LogoutConfirmationController* logout_confirmation_controller() {
523 return logout_confirmation_controller_.get(); 521 return logout_confirmation_controller_.get();
524 } 522 }
525 #endif // defined(OS_CHROMEOS) 523 #endif // defined(OS_CHROMEOS)
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 scoped_ptr<internal::VideoActivityNotifier> video_activity_notifier_; 703 scoped_ptr<internal::VideoActivityNotifier> video_activity_notifier_;
706 scoped_ptr<StickyKeysController> sticky_keys_controller_; 704 scoped_ptr<StickyKeysController> sticky_keys_controller_;
707 scoped_ptr<internal::ResolutionNotificationController> 705 scoped_ptr<internal::ResolutionNotificationController>
708 resolution_notification_controller_; 706 resolution_notification_controller_;
709 scoped_ptr<internal::BluetoothNotificationController> 707 scoped_ptr<internal::BluetoothNotificationController>
710 bluetooth_notification_controller_; 708 bluetooth_notification_controller_;
711 scoped_ptr<internal::LogoutConfirmationController> 709 scoped_ptr<internal::LogoutConfirmationController>
712 logout_confirmation_controller_; 710 logout_confirmation_controller_;
713 scoped_ptr<internal::LastWindowClosedLogoutReminder> 711 scoped_ptr<internal::LastWindowClosedLogoutReminder>
714 last_window_closed_logout_reminder_; 712 last_window_closed_logout_reminder_;
715 #if defined(USE_X11)
716 // Controls video output device state. 713 // Controls video output device state.
717 scoped_ptr<ui::OutputConfigurator> output_configurator_; 714 scoped_ptr<ui::OutputConfigurator> output_configurator_;
718 scoped_ptr<internal::OutputConfiguratorAnimation> 715 scoped_ptr<internal::OutputConfiguratorAnimation>
719 output_configurator_animation_; 716 output_configurator_animation_;
720 scoped_ptr<internal::DisplayErrorObserver> display_error_observer_; 717 scoped_ptr<internal::DisplayErrorObserver> display_error_observer_;
721 scoped_ptr<internal::ProjectingObserver> projecting_observer_; 718 scoped_ptr<internal::ProjectingObserver> projecting_observer_;
722 719
723 // Listens for output changes and updates the display manager. 720 // Listens for output changes and updates the display manager.
724 scoped_ptr<internal::DisplayChangeObserver> display_change_observer_; 721 scoped_ptr<internal::DisplayChangeObserver> display_change_observer_;
725 722
723 #if defined(USE_X11)
726 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; 724 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_;
727 scoped_ptr<ui::EventHandler> speech_feedback_handler_; 725 scoped_ptr<ui::EventHandler> speech_feedback_handler_;
728 #endif // defined(USE_X11) 726 #endif // defined(USE_X11)
729 #endif // defined(OS_CHROMEOS) 727 #endif // defined(OS_CHROMEOS)
730 728
731 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a 729 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
732 // pointer to vend to test code. 730 // pointer to vend to test code.
733 AshNativeCursorManager* native_cursor_manager_; 731 AshNativeCursorManager* native_cursor_manager_;
734 ::wm::CursorManager cursor_manager_; 732 ::wm::CursorManager cursor_manager_;
735 733
736 ObserverList<ShellObserver> observers_; 734 ObserverList<ShellObserver> observers_;
737 735
738 // For testing only: simulate that a modal window is open 736 // For testing only: simulate that a modal window is open
739 bool simulate_modal_window_open_for_testing_; 737 bool simulate_modal_window_open_for_testing_;
740 738
741 bool is_touch_hud_projection_enabled_; 739 bool is_touch_hud_projection_enabled_;
742 740
743 // Injected content::GPUDataManager support. 741 // Injected content::GPUDataManager support.
744 scoped_ptr<GPUSupport> gpu_support_; 742 scoped_ptr<GPUSupport> gpu_support_;
745 743
746 DISALLOW_COPY_AND_ASSIGN(Shell); 744 DISALLOW_COPY_AND_ASSIGN(Shell);
747 }; 745 };
748 746
749 } // namespace ash 747 } // namespace ash
750 748
751 #endif // ASH_SHELL_H_ 749 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/display/display_manager.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698