Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4011)

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc

Issue 2940103003: login: Remove scoped keyboard disabler. (Closed)
Patch Set: Add closure. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h ('k') | ui/keyboard/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
index b20cb02b3d729a6c6dcf9fff5f55d1ac4178ff59..c7dc893a28766cf0310c531fd90ee7cb27d6c67f 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
@@ -141,8 +141,6 @@ void CoreOobeHandler::RegisterMessages() {
&CoreOobeHandler::HandleEnableLargeCursor);
AddCallback("enableVirtualKeyboard",
&CoreOobeHandler::HandleEnableVirtualKeyboard);
- AddCallback("setForceDisableVirtualKeyboard",
- &CoreOobeHandler::HandleSetForceDisableVirtualKeyboard);
AddCallback("enableScreenMagnifier",
&CoreOobeHandler::HandleEnableScreenMagnifier);
AddCallback("enableSpokenFeedback",
@@ -304,19 +302,6 @@ void CoreOobeHandler::HandleEnableVirtualKeyboard(bool enabled) {
AccessibilityManager::Get()->EnableVirtualKeyboard(enabled);
}
-void CoreOobeHandler::HandleSetForceDisableVirtualKeyboard(bool disable) {
- scoped_keyboard_disabler_.SetForceDisableVirtualKeyboard(disable);
-
- if (disable) {
- keyboard::KeyboardController* controller =
- keyboard::KeyboardController::GetInstance();
- if (controller) {
- controller->HideKeyboard(
- keyboard::KeyboardController::HIDE_REASON_AUTOMATIC);
- }
- }
-}
-
void CoreOobeHandler::HandleEnableScreenMagnifier(bool enabled) {
// TODO(nkostylev): Add support for partial screen magnifier.
DCHECK(MagnificationManager::Get());
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h ('k') | ui/keyboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698