| Index: chrome/browser/ui/webui/options/chromeos/system_options_handler.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/options/chromeos/system_options_handler.cc (revision 104953)
|
| +++ chrome/browser/ui/webui/options/chromeos/system_options_handler.cc (working copy)
|
| @@ -18,6 +18,7 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chromeos/accessibility_util.h"
|
| #include "chrome/browser/chromeos/language_preferences.h"
|
| +#include "chrome/browser/chromeos/system/touchpad_settings.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -117,6 +118,10 @@
|
| web_ui_->CallJavascriptFunction(
|
| "options.SystemOptions.showBluetoothSettings");
|
| }
|
| +
|
| + if (!chromeos::system::touchpad_settings::TouchpadExists())
|
| + web_ui_->CallJavascriptFunction(
|
| + "options.SystemOptions.hideTapToClick");
|
| }
|
|
|
| void SystemOptionsHandler::RegisterMessages() {
|
|
|