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

Side by Side Diff: ash/shell.h

Issue 11743013: Scaling scroll/fling events in multi-monitor setup (Closed) Base URL: https://chromium.googlesource.com/chromium/src@git-svn
Patch Set: Rescale -> scale Created 7 years, 11 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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 namespace internal { 95 namespace internal {
96 class AcceleratorFilter; 96 class AcceleratorFilter;
97 class ActivationController; 97 class ActivationController;
98 class AppListController; 98 class AppListController;
99 class CaptureController; 99 class CaptureController;
100 class DisplayChangeObserverX11; 100 class DisplayChangeObserverX11;
101 class DisplayManager; 101 class DisplayManager;
102 class DragDropController; 102 class DragDropController;
103 class EventClientImpl; 103 class EventClientImpl;
104 class EventRewriterEventFilter; 104 class EventRewriterEventFilter;
105 class EventTransformationFilter;
105 class FocusCycler; 106 class FocusCycler;
106 class MouseCursorEventFilter; 107 class MouseCursorEventFilter;
107 class OutputConfiguratorAnimation; 108 class OutputConfiguratorAnimation;
108 class OverlayEventFilter; 109 class OverlayEventFilter;
109 class ResizeShadowController; 110 class ResizeShadowController;
110 class RootWindowController; 111 class RootWindowController;
111 class RootWindowLayoutManager; 112 class RootWindowLayoutManager;
112 class ScreenPositionController; 113 class ScreenPositionController;
113 class SlowAnimationEventFilter; 114 class SlowAnimationEventFilter;
114 class StatusAreaWidget; 115 class StatusAreaWidget;
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 } 311 }
311 internal::FocusCycler* focus_cycler() { 312 internal::FocusCycler* focus_cycler() {
312 return focus_cycler_.get(); 313 return focus_cycler_.get();
313 } 314 }
314 DisplayController* display_controller() { 315 DisplayController* display_controller() {
315 return display_controller_.get(); 316 return display_controller_.get();
316 } 317 }
317 internal::MouseCursorEventFilter* mouse_cursor_filter() { 318 internal::MouseCursorEventFilter* mouse_cursor_filter() {
318 return mouse_cursor_filter_.get(); 319 return mouse_cursor_filter_.get();
319 } 320 }
321 internal::EventTransformationFilter* event_transformation_filter() {
322 return event_transformation_filter_.get();
Ben Goodger (Google) 2013/01/07 18:06:05 nit: outdent 2
323 }
320 CursorManager* cursor_manager() { return &cursor_manager_; } 324 CursorManager* cursor_manager() { return &cursor_manager_; }
321 325
322 ShellDelegate* delegate() { return delegate_.get(); } 326 ShellDelegate* delegate() { return delegate_.get(); }
323 327
324 UserWallpaperDelegate* user_wallpaper_delegate() { 328 UserWallpaperDelegate* user_wallpaper_delegate() {
325 return user_wallpaper_delegate_.get(); 329 return user_wallpaper_delegate_.get();
326 } 330 }
327 331
328 CapsLockDelegate* caps_lock_delegate() { 332 CapsLockDelegate* caps_lock_delegate() {
329 return caps_lock_delegate_.get(); 333 return caps_lock_delegate_.get();
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 scoped_ptr<HighContrastController> high_contrast_controller_; 532 scoped_ptr<HighContrastController> high_contrast_controller_;
529 scoped_ptr<MagnificationController> magnification_controller_; 533 scoped_ptr<MagnificationController> magnification_controller_;
530 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; 534 scoped_ptr<PartialMagnificationController> partial_magnification_controller_;
531 scoped_ptr<aura::client::FocusClient> focus_client_; 535 scoped_ptr<aura::client::FocusClient> focus_client_;
532 scoped_ptr<aura::client::UserActionClient> user_action_client_; 536 scoped_ptr<aura::client::UserActionClient> user_action_client_;
533 aura::client::ActivationClient* activation_client_; 537 aura::client::ActivationClient* activation_client_;
534 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_; 538 scoped_ptr<internal::MouseCursorEventFilter> mouse_cursor_filter_;
535 scoped_ptr<internal::ScreenPositionController> screen_position_controller_; 539 scoped_ptr<internal::ScreenPositionController> screen_position_controller_;
536 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_; 540 scoped_ptr<internal::SystemModalContainerEventFilter> modality_filter_;
537 scoped_ptr<internal::EventClientImpl> event_client_; 541 scoped_ptr<internal::EventClientImpl> event_client_;
542 scoped_ptr<internal::EventTransformationFilter> event_transformation_filter_;
538 scoped_ptr<RootWindowHostFactory> root_window_host_factory_; 543 scoped_ptr<RootWindowHostFactory> root_window_host_factory_;
539 544
540 // An event filter that rewrites or drops an event. 545 // An event filter that rewrites or drops an event.
541 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_; 546 scoped_ptr<internal::EventRewriterEventFilter> event_rewriter_filter_;
542 547
543 // An event filter that pre-handles key events while the partial 548 // An event filter that pre-handles key events while the partial
544 // screenshot UI or the keyboard overlay is active. 549 // screenshot UI or the keyboard overlay is active.
545 scoped_ptr<internal::OverlayEventFilter> overlay_filter_; 550 scoped_ptr<internal::OverlayEventFilter> overlay_filter_;
546 551
547 // An event filter which handles system level gestures 552 // An event filter which handles system level gestures
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 585
581 // For testing only: simulate that a modal window is open 586 // For testing only: simulate that a modal window is open
582 bool simulate_modal_window_open_for_testing_; 587 bool simulate_modal_window_open_for_testing_;
583 588
584 DISALLOW_COPY_AND_ASSIGN(Shell); 589 DISALLOW_COPY_AND_ASSIGN(Shell);
585 }; 590 };
586 591
587 } // namespace ash 592 } // namespace ash
588 593
589 #endif // ASH_SHELL_H_ 594 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698