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

Side by Side Diff: ash/common/wm_shell.h

Issue 2311393004: Laser tool blocks events from propagating. (Closed)
Patch Set: Nit. 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
« no previous file with comments | « ash/common/test/test_palette_delegate.cc ('k') | ash/laser/laser_pointer_controller.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_COMMON_WM_SHELL_H_ 5 #ifndef ASH_COMMON_WM_SHELL_H_
6 #define ASH_COMMON_WM_SHELL_H_ 6 #define ASH_COMMON_WM_SHELL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 return blocking_pool_; 377 return blocking_pool_;
378 } 378 }
379 379
380 #if defined(OS_CHROMEOS) 380 #if defined(OS_CHROMEOS)
381 LogoutConfirmationController* logout_confirmation_controller() { 381 LogoutConfirmationController* logout_confirmation_controller() {
382 return logout_confirmation_controller_.get(); 382 return logout_confirmation_controller_.get();
383 } 383 }
384 384
385 // TODO(jamescook): Remove this when VirtualKeyboardController has been moved. 385 // TODO(jamescook): Remove this when VirtualKeyboardController has been moved.
386 virtual void ToggleIgnoreExternalKeyboard() = 0; 386 virtual void ToggleIgnoreExternalKeyboard() = 0;
387
388 // Enable or disable the laser pointer.
389 virtual void SetLaserPointerEnabled(bool enabled) = 0;
387 #endif 390 #endif
388 391
389 protected: 392 protected:
390 explicit WmShell(std::unique_ptr<ShellDelegate> shell_delegate); 393 explicit WmShell(std::unique_ptr<ShellDelegate> shell_delegate);
391 virtual ~WmShell(); 394 virtual ~WmShell();
392 395
393 base::ObserverList<ShellObserver>* shell_observers() { 396 base::ObserverList<ShellObserver>* shell_observers() {
394 return &shell_observers_; 397 return &shell_observers_;
395 } 398 }
396 399
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 464 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
462 465
463 #if defined(OS_CHROMEOS) 466 #if defined(OS_CHROMEOS)
464 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 467 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
465 #endif 468 #endif
466 }; 469 };
467 470
468 } // namespace ash 471 } // namespace ash
469 472
470 #endif // ASH_COMMON_WM_SHELL_H_ 473 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/test/test_palette_delegate.cc ('k') | ash/laser/laser_pointer_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698