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

Unified Diff: chrome/browser/chromeos/login/lock/webui_screen_locker.cc

Issue 2260653002: Pin keyboard works with virtual keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Nit. 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/core_oobe_actor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/lock/webui_screen_locker.cc
diff --git a/chrome/browser/chromeos/login/lock/webui_screen_locker.cc b/chrome/browser/chromeos/login/lock/webui_screen_locker.cc
index 409da2e55ef5ae135d2141c13fa346c69926cf6c..fec31d829bd4189f2c7e386fa352918aaba2719a 100644
--- a/chrome/browser/chromeos/login/lock/webui_screen_locker.cc
+++ b/chrome/browser/chromeos/login/lock/webui_screen_locker.cc
@@ -373,12 +373,16 @@ void WebUIScreenLocker::OnKeyboardBoundsChanging(
const gfx::Rect& new_bounds) {
if (new_bounds.IsEmpty()) {
// Keyboard has been hidden.
- if (GetOobeUI())
+ if (GetOobeUI()) {
GetOobeUI()->GetCoreOobeActor()->ShowControlBar(true);
+ GetOobeUI()->GetCoreOobeActor()->ShowPinKeyboard(true);
+ }
} else {
// Keyboard has been shown.
- if (GetOobeUI())
+ if (GetOobeUI()) {
GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false);
+ GetOobeUI()->GetCoreOobeActor()->ShowPinKeyboard(false);
+ }
}
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/core_oobe_actor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698