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

Side by Side Diff: ash/shell.h

Issue 2311393004: Laser tool blocks events from propagating. (Closed)
Patch Set: Fixed patch set 4 errors. Created 4 years, 3 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 <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 class DisplayErrorObserver; 78 class DisplayErrorObserver;
79 class DisplayManager; 79 class DisplayManager;
80 class DragDropController; 80 class DragDropController;
81 class EventClientImpl; 81 class EventClientImpl;
82 class EventRewriterEventFilter; 82 class EventRewriterEventFilter;
83 class EventTransformationHandler; 83 class EventTransformationHandler;
84 class FirstRunHelper; 84 class FirstRunHelper;
85 class GPUSupport; 85 class GPUSupport;
86 class HighContrastController; 86 class HighContrastController;
87 class ImmersiveHandlerFactoryAsh; 87 class ImmersiveHandlerFactoryAsh;
88 class LaserPointerController;
88 class LinkHandlerModelFactory; 89 class LinkHandlerModelFactory;
89 class LocaleNotificationController; 90 class LocaleNotificationController;
90 class LockStateController; 91 class LockStateController;
91 enum class LoginStatus; 92 enum class LoginStatus;
92 class MagnificationController; 93 class MagnificationController;
93 class MouseCursorEventFilter; 94 class MouseCursorEventFilter;
94 class OverlayEventFilter; 95 class OverlayEventFilter;
95 class PartialMagnificationController; 96 class PartialMagnificationController;
96 class PowerButtonController; 97 class PowerButtonController;
97 class PowerEventObserver; 98 class PowerEventObserver;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 } 293 }
293 ::wm::CursorManager* cursor_manager() { return cursor_manager_.get(); } 294 ::wm::CursorManager* cursor_manager() { return cursor_manager_.get(); }
294 295
295 SessionStateDelegate* session_state_delegate() { 296 SessionStateDelegate* session_state_delegate() {
296 return session_state_delegate_.get(); 297 return session_state_delegate_.get();
297 } 298 }
298 299
299 HighContrastController* high_contrast_controller() { 300 HighContrastController* high_contrast_controller() {
300 return high_contrast_controller_.get(); 301 return high_contrast_controller_.get();
301 } 302 }
302 303 #if defined(OS_CHROMEOS)
304 LaserPointerController* laser_pointer_controller() {
James Cook 2016/09/16 18:13:31 nit: I would just stick these in the existing OS_C
sammiequon 2016/09/16 19:21:04 Done.
305 return laser_pointer_controller_.get();
306 }
307 #endif // defined(OS_CHROMEOS)
303 MagnificationController* magnification_controller() { 308 MagnificationController* magnification_controller() {
304 return magnification_controller_.get(); 309 return magnification_controller_.get();
305 } 310 }
306 311 #if defined(OS_CHROMEOS)
307 PartialMagnificationController* partial_magnification_controller() { 312 PartialMagnificationController* partial_magnification_controller() {
308 return partial_magnification_controller_.get(); 313 return partial_magnification_controller_.get();
309 } 314 }
310 315 #endif // defined(OS_CHROMEOS)
311 AutoclickController* autoclick_controller() { 316 AutoclickController* autoclick_controller() {
312 return autoclick_controller_.get(); 317 return autoclick_controller_.get();
313 } 318 }
314 319
315 aura::client::ActivationClient* activation_client() { 320 aura::client::ActivationClient* activation_client() {
316 return activation_client_; 321 return activation_client_;
317 } 322 }
318 323
319 // Force the shelf to query for it's current visibility state. 324 // Force the shelf to query for it's current visibility state.
320 // TODO(jamescook): Move to Shelf. 325 // TODO(jamescook): Move to Shelf.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 std::unique_ptr<::wm::VisibilityController> visibility_controller_; 469 std::unique_ptr<::wm::VisibilityController> visibility_controller_;
465 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; 470 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_;
466 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; 471 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_;
467 LinkHandlerModelFactory* link_handler_model_factory_; 472 LinkHandlerModelFactory* link_handler_model_factory_;
468 std::unique_ptr<PowerButtonController> power_button_controller_; 473 std::unique_ptr<PowerButtonController> power_button_controller_;
469 std::unique_ptr<LockStateController> lock_state_controller_; 474 std::unique_ptr<LockStateController> lock_state_controller_;
470 std::unique_ptr<ui::UserActivityDetector> user_activity_detector_; 475 std::unique_ptr<ui::UserActivityDetector> user_activity_detector_;
471 std::unique_ptr<VideoDetector> video_detector_; 476 std::unique_ptr<VideoDetector> video_detector_;
472 std::unique_ptr<WindowTreeHostManager> window_tree_host_manager_; 477 std::unique_ptr<WindowTreeHostManager> window_tree_host_manager_;
473 std::unique_ptr<HighContrastController> high_contrast_controller_; 478 std::unique_ptr<HighContrastController> high_contrast_controller_;
479 #if defined(OS_CHROMEOS)
James Cook 2016/09/16 18:13:31 ditto, move to CHROMEOS section below
sammiequon 2016/09/16 19:21:04 Done.
480 std::unique_ptr<LaserPointerController> laser_pointer_controller_;
481 #endif // defined(OS_CHROMEOS)
474 std::unique_ptr<MagnificationController> magnification_controller_; 482 std::unique_ptr<MagnificationController> magnification_controller_;
483 #if defined(OS_CHROMEOS)
475 std::unique_ptr<PartialMagnificationController> 484 std::unique_ptr<PartialMagnificationController>
476 partial_magnification_controller_; 485 partial_magnification_controller_;
486 #endif // defined(OS_CHROMEOS)
477 std::unique_ptr<AutoclickController> autoclick_controller_; 487 std::unique_ptr<AutoclickController> autoclick_controller_;
478 std::unique_ptr<aura::client::FocusClient> focus_client_; 488 std::unique_ptr<aura::client::FocusClient> focus_client_;
479 489
480 aura::client::ActivationClient* activation_client_; 490 aura::client::ActivationClient* activation_client_;
481 491
482 std::unique_ptr<ScreenshotController> screenshot_controller_; 492 std::unique_ptr<ScreenshotController> screenshot_controller_;
483 493
484 std::unique_ptr<MouseCursorEventFilter> mouse_cursor_filter_; 494 std::unique_ptr<MouseCursorEventFilter> mouse_cursor_filter_;
485 std::unique_ptr<ScreenPositionController> screen_position_controller_; 495 std::unique_ptr<ScreenPositionController> screen_position_controller_;
486 std::unique_ptr<SystemModalContainerEventFilter> modality_filter_; 496 std::unique_ptr<SystemModalContainerEventFilter> modality_filter_;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 std::unique_ptr<GPUSupport> gpu_support_; 565 std::unique_ptr<GPUSupport> gpu_support_;
556 566
557 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; 567 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_;
558 568
559 DISALLOW_COPY_AND_ASSIGN(Shell); 569 DISALLOW_COPY_AND_ASSIGN(Shell);
560 }; 570 };
561 571
562 } // namespace ash 572 } // namespace ash
563 573
564 #endif // ASH_SHELL_H_ 574 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698