| 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 9dc97584a7cdcf7c5394bccfa44dcec9f023ec0c..2af1199fa419ab324071b286a59bd526ea21079f 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| @@ -500,12 +500,24 @@ gfx::Image ChromeShellDelegate::GetDeprecatedAcceleratorImage() const {
|
| IDR_BLUETOOTH_KEYBOARD);
|
| }
|
|
|
| -void ChromeShellDelegate::ToggleTouchpad() {
|
| - chromeos::system::InputDeviceSettings::Get()->ToggleTouchpad();
|
| +bool ChromeShellDelegate::IsTouchscreenEnabledInPrefs(bool is_local) const {
|
| + return chromeos::system::InputDeviceSettings::Get()
|
| + ->IsTouchscreenEnabledInPrefs(is_local);
|
| +}
|
| +
|
| +void ChromeShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled,
|
| + bool is_local) {
|
| + chromeos::system::InputDeviceSettings::Get()->SetTouchscreenEnabledInPrefs(
|
| + enabled, is_local);
|
| }
|
|
|
| -void ChromeShellDelegate::ToggleTouchscreen() {
|
| - chromeos::system::InputDeviceSettings::Get()->ToggleTouchscreen();
|
| +void ChromeShellDelegate::UpdateTouchscreenStatusFromPrefs() {
|
| + chromeos::system::InputDeviceSettings::Get()
|
| + ->UpdateTouchscreenStatusFromPrefs();
|
| +}
|
| +
|
| +void ChromeShellDelegate::ToggleTouchpad() {
|
| + chromeos::system::InputDeviceSettings::Get()->ToggleTouchpad();
|
| }
|
|
|
| keyboard::KeyboardUI* ChromeShellDelegate::CreateKeyboardUI() {
|
|
|