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

Unified Diff: chrome/browser/resources/chromeos/login/login_common.js

Issue 1115993002: ChromeOS Gaia: SAML password confirmation dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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/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

Powered by Google App Engine
This is Rietveld 408576698