Chromium Code Reviews| 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 1d206def8a6538b699731c0e5f1ee0a51f4ea1d9..b48bc654dfca8f9a42a9ca354a11e833daedc7ed 100644 |
| --- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
| +++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
| @@ -275,6 +275,10 @@ void CoreOobeHandler::ShowControlBar(bool show) { |
| CallJSOrDefer("showControlBar", show); |
| } |
| +void CoreOobeHandler::ShowPinKeyboard(bool show) { |
| + CallJSOrDefer("showPinKeyboard", show); |
|
jdufault
2016/08/19 17:28:18
Will this cause the PIN keyboard to show up when i
sammiequon
2016/08/23 17:28:11
Yes, as mentioned we will delete the pin keyboard
|
| +} |
| + |
| void CoreOobeHandler::SetClientAreaSize(int width, int height) { |
| CallJSOrDefer("setClientAreaSize", width, height); |
| } |
| @@ -440,6 +444,7 @@ void CoreOobeHandler::UpdateKeyboardState() { |
| if (keyboard_controller) { |
| gfx::Rect bounds = keyboard_controller->current_keyboard_bounds(); |
| ShowControlBar(bounds.IsEmpty()); |
| + ShowPinKeyboard(bounds.IsEmpty()); |
| } |
| } |