| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 return blocking_pool_; | 378 return blocking_pool_; |
| 379 } | 379 } |
| 380 | 380 |
| 381 #if defined(OS_CHROMEOS) | 381 #if defined(OS_CHROMEOS) |
| 382 LogoutConfirmationController* logout_confirmation_controller() { | 382 LogoutConfirmationController* logout_confirmation_controller() { |
| 383 return logout_confirmation_controller_.get(); | 383 return logout_confirmation_controller_.get(); |
| 384 } | 384 } |
| 385 | 385 |
| 386 // TODO(jamescook): Remove this when VirtualKeyboardController has been moved. | 386 // TODO(jamescook): Remove this when VirtualKeyboardController has been moved. |
| 387 virtual void ToggleIgnoreExternalKeyboard() = 0; | 387 virtual void ToggleIgnoreExternalKeyboard() = 0; |
| 388 |
| 389 // Enable or disable the laser pointer. |
| 390 virtual void SetLaserPointerEnabled(bool enabled) = 0; |
| 388 #endif | 391 #endif |
| 389 | 392 |
| 390 protected: | 393 protected: |
| 391 explicit WmShell(std::unique_ptr<ShellDelegate> shell_delegate); | 394 explicit WmShell(std::unique_ptr<ShellDelegate> shell_delegate); |
| 392 virtual ~WmShell(); | 395 virtual ~WmShell(); |
| 393 | 396 |
| 394 base::ObserverList<ShellObserver>* shell_observers() { | 397 base::ObserverList<ShellObserver>* shell_observers() { |
| 395 return &shell_observers_; | 398 return &shell_observers_; |
| 396 } | 399 } |
| 397 | 400 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 465 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 463 | 466 |
| 464 #if defined(OS_CHROMEOS) | 467 #if defined(OS_CHROMEOS) |
| 465 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 468 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
| 466 #endif | 469 #endif |
| 467 }; | 470 }; |
| 468 | 471 |
| 469 } // namespace ash | 472 } // namespace ash |
| 470 | 473 |
| 471 #endif // ASH_COMMON_WM_SHELL_H_ | 474 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |