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

Side by Side Diff: ash/shell.h

Issue 289283015: Extract touchscreen device management into a generic manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | Annotate | Revision Log
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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 WindowCycleController* window_cycle_controller() { 368 WindowCycleController* window_cycle_controller() {
369 return window_cycle_controller_.get(); 369 return window_cycle_controller_.get();
370 } 370 }
371 WindowSelectorController* window_selector_controller() { 371 WindowSelectorController* window_selector_controller() {
372 return window_selector_controller_.get(); 372 return window_selector_controller_.get();
373 } 373 }
374 FocusCycler* focus_cycler() { return focus_cycler_.get(); } 374 FocusCycler* focus_cycler() { return focus_cycler_.get(); }
375 DisplayController* display_controller() { 375 DisplayController* display_controller() {
376 return display_controller_.get(); 376 return display_controller_.get();
377 } 377 }
378 #if defined(OS_CHROMEOS) && defined(USE_X11) 378 #if defined(OS_CHROMEOS)
379 TouchTransformerController* touch_transformer_controller() { 379 TouchTransformerController* touch_transformer_controller() {
380 return touch_transformer_controller_.get(); 380 return touch_transformer_controller_.get();
381 } 381 }
382 #endif // defined(OS_CHROMEOS) && defined(USE_X11) 382 #endif // defined(OS_CHROMEOS)
383 MouseCursorEventFilter* mouse_cursor_filter() { 383 MouseCursorEventFilter* mouse_cursor_filter() {
384 return mouse_cursor_filter_.get(); 384 return mouse_cursor_filter_.get();
385 } 385 }
386 EventTransformationHandler* event_transformation_handler() { 386 EventTransformationHandler* event_transformation_handler() {
387 return event_transformation_handler_.get(); 387 return event_transformation_handler_.get();
388 } 388 }
389 ::wm::CursorManager* cursor_manager() { return &cursor_manager_; } 389 ::wm::CursorManager* cursor_manager() { return &cursor_manager_; }
390 390
391 ShellDelegate* delegate() { return delegate_.get(); } 391 ShellDelegate* delegate() { return delegate_.get(); }
392 392
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 scoped_ptr<LastWindowClosedLogoutReminder> 714 scoped_ptr<LastWindowClosedLogoutReminder>
715 last_window_closed_logout_reminder_; 715 last_window_closed_logout_reminder_;
716 // Controls video output device state. 716 // Controls video output device state.
717 scoped_ptr<ui::DisplayConfigurator> display_configurator_; 717 scoped_ptr<ui::DisplayConfigurator> display_configurator_;
718 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; 718 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_;
719 scoped_ptr<DisplayErrorObserver> display_error_observer_; 719 scoped_ptr<DisplayErrorObserver> display_error_observer_;
720 scoped_ptr<ProjectingObserver> projecting_observer_; 720 scoped_ptr<ProjectingObserver> projecting_observer_;
721 721
722 // Listens for output changes and updates the display manager. 722 // Listens for output changes and updates the display manager.
723 scoped_ptr<DisplayChangeObserver> display_change_observer_; 723 scoped_ptr<DisplayChangeObserver> display_change_observer_;
724 scoped_ptr<TouchTransformerController> touch_transformer_controller_;
724 725
725 #if defined(USE_X11) 726 #if defined(USE_X11)
726 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; 727 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_;
727 scoped_ptr<ui::EventHandler> speech_feedback_handler_; 728 scoped_ptr<ui::EventHandler> speech_feedback_handler_;
728 scoped_ptr<TouchTransformerController> touch_transformer_controller_;
729 #endif // defined(USE_X11) 729 #endif // defined(USE_X11)
730 #endif // defined(OS_CHROMEOS) 730 #endif // defined(OS_CHROMEOS)
731 731
732 scoped_ptr<MaximizeModeController> maximize_mode_controller_; 732 scoped_ptr<MaximizeModeController> maximize_mode_controller_;
733 733
734 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a 734 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
735 // pointer to vend to test code. 735 // pointer to vend to test code.
736 AshNativeCursorManager* native_cursor_manager_; 736 AshNativeCursorManager* native_cursor_manager_;
737 737
738 // Cursor may be hidden on certain key events in ChromeOS, whereas we never hide 738 // Cursor may be hidden on certain key events in ChromeOS, whereas we never hide
(...skipping 13 matching lines...) Expand all
752 752
753 // Injected content::GPUDataManager support. 753 // Injected content::GPUDataManager support.
754 scoped_ptr<GPUSupport> gpu_support_; 754 scoped_ptr<GPUSupport> gpu_support_;
755 755
756 DISALLOW_COPY_AND_ASSIGN(Shell); 756 DISALLOW_COPY_AND_ASSIGN(Shell);
757 }; 757 };
758 758
759 } // namespace ash 759 } // namespace ash
760 760
761 #endif // ASH_SHELL_H_ 761 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698