Index: chrome/browser/resources/chromeos/login/login_common.js |
diff --git a/chrome/browser/resources/chromeos/login/login_common.js b/chrome/browser/resources/chromeos/login/login_common.js |
index 46eeb7fac43b470fba8fbdbfa513a4b02ddf1d35..bac3846076eeaa62a7eedc8505e14d88e46ebac8 100644 |
--- a/chrome/browser/resources/chromeos/login/login_common.js |
+++ b/chrome/browser/resources/chromeos/login/login_common.js |
@@ -320,6 +320,22 @@ cr.define('cr.ui', function() { |
Oobe.getInstance().headerHidden = !show; |
}; |
+ /** |
+ * Sets the current state of the virtual keyboard (shown/hidden). |
+ */ |
+ Oobe.setKeyboardState = function(shown) { |
+ Oobe.getInstance().virtualKeyboardShown = shown; |
+ }; |
+ |
+ /** |
+ * Sets the current size of the client area (display size). |
+ * @param {number} width client area width |
+ * @param {number} height client area height |
+ */ |
+ Oobe.setClientAreaSize = function(width, height) { |
+ Oobe.getInstance().setClientAreaSize(width, height); |
+ }; |
+ |
// Export |
return { |
Oobe: Oobe |