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 d3d731f5d29360fc7409537238d2bc447ac0ef25..a3205720c985f87f74b7d3db5fd416b4cbd74325 100644 |
--- a/chrome/browser/resources/chromeos/login/login_common.js |
+++ b/chrome/browser/resources/chromeos/login/login_common.js |
@@ -360,6 +360,13 @@ cr.define('cr.ui', function() { |
Oobe.getInstance().setClientAreaSize(width, height); |
}; |
+ /** |
+ * Checks whether the New Gaia flow is active. |
+ */ |
+ Oobe.isNewGaiaFlow = function() { |
+ return document.querySelector('.new-gaia-flow') != undefined; |
+ }; |
+ |
// Export |
return { |
Oobe: Oobe |