| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |