| Index: chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| index 9d462407fa66620ab9042a61bd7f99f92aebda23..33aff9a3139fa58c7edcff7488dbd58bdbdc5269 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| @@ -505,12 +505,16 @@ gfx::Image ChromeShellDelegate::GetDeprecatedAcceleratorImage() const {
|
| IDR_BLUETOOTH_KEYBOARD);
|
| }
|
|
|
| -void ChromeShellDelegate::ToggleTouchpad() {
|
| - chromeos::system::InputDeviceSettings::Get()->ToggleTouchpad();
|
| +bool ChromeShellDelegate::IsTouchscreenEnabled() const {
|
| + return chromeos::system::InputDeviceSettings::Get()->IsTouchscreenEnabled();
|
| +}
|
| +
|
| +void ChromeShellDelegate::SetTouchscreenEnabled(bool enabled) {
|
| + chromeos::system::InputDeviceSettings::Get()->SetTouchscreenEnabled(enabled);
|
| }
|
|
|
| -void ChromeShellDelegate::ToggleTouchscreen() {
|
| - chromeos::system::InputDeviceSettings::Get()->ToggleTouchscreen();
|
| +void ChromeShellDelegate::ToggleTouchpad() {
|
| + chromeos::system::InputDeviceSettings::Get()->ToggleTouchpad();
|
| }
|
|
|
| keyboard::KeyboardUI* ChromeShellDelegate::CreateKeyboardUI() {
|
|
|