| Index: chrome/browser/ui/webui/settings/people_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/people_handler.cc b/chrome/browser/ui/webui/settings/people_handler.cc
|
| index 55ebfe8cc730bdb06ba1a7e24bf6a7ee4473c378..9dd7f53e56a2823c40bac96bacd78bba86f8ba59 100644
|
| --- a/chrome/browser/ui/webui/settings/people_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/people_handler.cc
|
| @@ -56,6 +56,7 @@
|
| #include "net/base/url_util.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/webui/web_ui_util.h"
|
| +#include "ui/keyboard/keyboard_util.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "components/signin/core/browser/signin_manager_base.h"
|
| @@ -198,6 +199,10 @@ void PeopleHandler::RegisterMessages() {
|
| "SyncSetupManageOtherPeople",
|
| base::Bind(&PeopleHandler::HandleManageOtherPeople,
|
| base::Unretained(this)));
|
| + web_ui()->RegisterMessageCallback(
|
| + "EnableVirtualKeyboardOverride",
|
| + base::Bind(&PeopleHandler::HandleEnableVirtualKeyboardOverride,
|
| + base::Unretained(this)));
|
| #if defined(OS_CHROMEOS)
|
| web_ui()->RegisterMessageCallback(
|
| "SyncSetupDoSignOutOnAuthError",
|
| @@ -553,6 +558,13 @@ void PeopleHandler::HandleManageOtherPeople(const base::ListValue* /* args */) {
|
| profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION);
|
| }
|
|
|
| +void PeopleHandler::HandleEnableVirtualKeyboardOverride(
|
| + const base::ListValue* args) {
|
| + bool hide_keyboard = false;
|
| + args->GetBoolean(0, &hide_keyboard);
|
| + keyboard::SetWebUiOverrideEnabled(hide_keyboard);
|
| +}
|
| +
|
| void PeopleHandler::CloseSyncSetup() {
|
| // Stop a timer to handle timeout in waiting for checking network connection.
|
| backend_start_timer_.reset();
|
|
|