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

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

Issue 2260653002: Pin keyboard works with virtual keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 4 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
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());
}
}

Powered by Google App Engine
This is Rietveld 408576698