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 5522675942982137d960c356b9386c512eb07ff2..63c07a7bce4891abf7d45fcb82b0d96181b8c919 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
@@ -278,6 +278,10 @@ void CoreOobeHandler::ShowControlBar(bool show) { |
CallJSOrDefer("showControlBar", show); |
} |
+void CoreOobeHandler::ShowPinKeyboard(bool show) { |
+ CallJSOrDefer("showPinKeyboard", show); |
+} |
+ |
void CoreOobeHandler::SetClientAreaSize(int width, int height) { |
CallJSOrDefer("setClientAreaSize", width, height); |
} |
@@ -449,6 +453,7 @@ void CoreOobeHandler::UpdateKeyboardState() { |
if (keyboard_controller) { |
gfx::Rect bounds = keyboard_controller->current_keyboard_bounds(); |
ShowControlBar(bounds.IsEmpty()); |
+ ShowPinKeyboard(bounds.IsEmpty()); |
} |
} |