Commit bc8fed0e authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

Login WebUI: gaia-button, replace paper-button with cr-button

Replaces 'tap' event with 'click' for gaia-button's.

Bug: 967793
Change-Id: Ifee53c66243357b5f2bcb2a17ea40a402f9d483e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1658650Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Commit-Queue: Esmael El-Moslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671938}
parent ba8c7800
...@@ -678,7 +678,7 @@ IN_PROC_BROWSER_TEST_F(ActiveDirectoryJoinTest, ...@@ -678,7 +678,7 @@ IN_PROC_BROWSER_TEST_F(ActiveDirectoryJoinTest,
"legacy", kAdTestUser, "password"); "legacy", kAdTestUser, "password");
WaitForMessage(&message_queue, "\"ShowADJoinError\""); WaitForMessage(&message_queue, "\"ShowADJoinError\"");
enrollment_ui_.WaitForStep(test::ui::kEnrollmentStepADJoinError); enrollment_ui_.WaitForStep(test::ui::kEnrollmentStepADJoinError);
test::OobeJS().TapOnPath({kEnrollmentUI, kAdErrorCard, kSubmitButton}); test::OobeJS().ClickOnPath({kEnrollmentUI, kAdErrorCard, kSubmitButton});
enrollment_ui_.WaitForStep(test::ui::kEnrollmentStepADJoin); enrollment_ui_.WaitForStep(test::ui::kEnrollmentStepADJoin);
} }
......
...@@ -143,7 +143,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, MigrateOldCryptohome) { ...@@ -143,7 +143,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, MigrateOldCryptohome) {
// Fill out and submit the old password passed to the stub authenticator. // Fill out and submit the old password passed to the stub authenticator.
test::OobeJS().TypeIntoPath("old user password", test::OobeJS().TypeIntoPath("old user password",
{"gaia-password-changed", "oldPasswordInput"}); {"gaia-password-changed", "oldPasswordInput"});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-password-changed", "oldPasswordInputForm", "button"}); {"gaia-password-changed", "oldPasswordInputForm", "button"});
// User session should start, and whole OOBE screen is expected to be hidden, // User session should start, and whole OOBE screen is expected to be hidden,
...@@ -169,7 +169,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, RetryOnWrongPassword) { ...@@ -169,7 +169,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, RetryOnWrongPassword) {
// Fill out and submit the old password passed to the stub authenticator. // Fill out and submit the old password passed to the stub authenticator.
test::OobeJS().TypeIntoPath("incorrect old user password", test::OobeJS().TypeIntoPath("incorrect old user password",
{"gaia-password-changed", "oldPasswordInput"}); {"gaia-password-changed", "oldPasswordInput"});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-password-changed", "oldPasswordInputForm", "button"}); {"gaia-password-changed", "oldPasswordInputForm", "button"});
// Expect the UI to report failure. // Expect the UI to report failure.
...@@ -189,7 +189,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, RetryOnWrongPassword) { ...@@ -189,7 +189,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, RetryOnWrongPassword) {
// Submit the correct password. // Submit the correct password.
test::OobeJS().TypeIntoPath("old user password", test::OobeJS().TypeIntoPath("old user password",
{"gaia-password-changed", "oldPasswordInput"}); {"gaia-password-changed", "oldPasswordInput"});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-password-changed", "oldPasswordInputForm", "button"}); {"gaia-password-changed", "oldPasswordInputForm", "button"});
// User session should start, and whole OOBE screen is expected to be hidden, // User session should start, and whole OOBE screen is expected to be hidden,
...@@ -213,7 +213,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, SkipDataRecovery) { ...@@ -213,7 +213,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, SkipDataRecovery) {
true, {"gaia-password-changed", "oldPasswordCard"}); true, {"gaia-password-changed", "oldPasswordCard"});
// Click forgot password link. // Click forgot password link.
test::OobeJS().TapOnPath({"gaia-password-changed", "forgot-password-link"}); test::OobeJS().ClickOnPath({"gaia-password-changed", "forgot-password-link"});
test::OobeJS().CreateVisibilityWaiter( test::OobeJS().CreateVisibilityWaiter(
false, {"gaia-password-changed", "oldPasswordCard"}); false, {"gaia-password-changed", "oldPasswordCard"});
...@@ -223,7 +223,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, SkipDataRecovery) { ...@@ -223,7 +223,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, SkipDataRecovery) {
{"gaia-password-changed", "proceedAnywayBtn"}); {"gaia-password-changed", "proceedAnywayBtn"});
// Click "Proceed anyway". // Click "Proceed anyway".
test::OobeJS().TapOnPath({"gaia-password-changed", "proceedAnywayBtn"}); test::OobeJS().ClickOnPath({"gaia-password-changed", "proceedAnywayBtn"});
// User session should start, and whole OOBE screen is expected to be hidden, // User session should start, and whole OOBE screen is expected to be hidden,
OobeWindowVisibilityWaiter(false).Wait(); OobeWindowVisibilityWaiter(false).Wait();
...@@ -246,7 +246,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, TryAgainAfterForgetLinkClick) { ...@@ -246,7 +246,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, TryAgainAfterForgetLinkClick) {
true, {"gaia-password-changed", "oldPasswordCard"}); true, {"gaia-password-changed", "oldPasswordCard"});
// Click forgot password link. // Click forgot password link.
test::OobeJS().TapOnPath({"gaia-password-changed", "forgot-password-link"}); test::OobeJS().ClickOnPath({"gaia-password-changed", "forgot-password-link"});
test::OobeJS().CreateVisibilityWaiter( test::OobeJS().CreateVisibilityWaiter(
false, {"gaia-password-changed", "oldPasswordCard"}); false, {"gaia-password-changed", "oldPasswordCard"});
...@@ -256,7 +256,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, TryAgainAfterForgetLinkClick) { ...@@ -256,7 +256,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, TryAgainAfterForgetLinkClick) {
{"gaia-password-changed", "proceedAnywayBtn"}); {"gaia-password-changed", "proceedAnywayBtn"});
// Go back to old password input by clicking Try Again. // Go back to old password input by clicking Try Again.
test::OobeJS().TapOnPath({"gaia-password-changed", "try-again-link"}); test::OobeJS().ClickOnPath({"gaia-password-changed", "try-again-link"});
test::OobeJS().CreateVisibilityWaiter( test::OobeJS().CreateVisibilityWaiter(
true, {"gaia-password-changed", "oldPasswordCard"}); true, {"gaia-password-changed", "oldPasswordCard"});
...@@ -264,7 +264,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, TryAgainAfterForgetLinkClick) { ...@@ -264,7 +264,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, TryAgainAfterForgetLinkClick) {
// Enter and submit the correct password. // Enter and submit the correct password.
test::OobeJS().TypeIntoPath("old user password", test::OobeJS().TypeIntoPath("old user password",
{"gaia-password-changed", "oldPasswordInput"}); {"gaia-password-changed", "oldPasswordInput"});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-password-changed", "oldPasswordInputForm", "button"}); {"gaia-password-changed", "oldPasswordInputForm", "button"});
// User session should start, and whole OOBE screen is expected to be hidden, // User session should start, and whole OOBE screen is expected to be hidden,
...@@ -289,7 +289,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, ClosePasswordChangedDialog) { ...@@ -289,7 +289,7 @@ IN_PROC_BROWSER_TEST_F(PasswordChangeTest, ClosePasswordChangedDialog) {
test::OobeJS().TypeIntoPath("old user password", test::OobeJS().TypeIntoPath("old user password",
{"gaia-password-changed", "oldPasswordInput"}); {"gaia-password-changed", "oldPasswordInput"});
// Click the close button. // Click the close button.
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-password-changed", "navigation", "closeButton"}); {"gaia-password-changed", "navigation", "closeButton"});
OobeWindowVisibilityWaiter(false).Wait(); OobeWindowVisibilityWaiter(false).Wait();
......
...@@ -228,7 +228,7 @@ void ActiveDirectoryLoginMixin::SubmitActiveDirectoryCredentials( ...@@ -228,7 +228,7 @@ void ActiveDirectoryLoginMixin::SubmitActiveDirectoryCredentials(
{kGaiaSigninId, kAdOfflineAuthId, kAdUserInput}); {kGaiaSigninId, kAdOfflineAuthId, kAdUserInput});
test::OobeJS().TypeIntoPath( test::OobeJS().TypeIntoPath(
password, {kGaiaSigninId, kAdOfflineAuthId, kAdPasswordInput}); password, {kGaiaSigninId, kAdOfflineAuthId, kAdPasswordInput});
test::OobeJS().TapOnPath({kGaiaSigninId, kAdOfflineAuthId, kAdCredsButton}); test::OobeJS().ClickOnPath({kGaiaSigninId, kAdOfflineAuthId, kAdCredsButton});
} }
// Sets username and password for the Active Directory login and submits it. // Sets username and password for the Active Directory login and submits it.
...@@ -242,7 +242,7 @@ void ActiveDirectoryLoginMixin::SubmitActiveDirectoryPasswordChangeCredentials( ...@@ -242,7 +242,7 @@ void ActiveDirectoryLoginMixin::SubmitActiveDirectoryPasswordChangeCredentials(
{kPasswordChangeId, kAdNewPassword1Input}); {kPasswordChangeId, kAdNewPassword1Input});
test::OobeJS().TypeIntoPath(new_password2, test::OobeJS().TypeIntoPath(new_password2,
{kPasswordChangeId, kAdNewPassword2Input}); {kPasswordChangeId, kAdNewPassword2Input});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{kPasswordChangeId, kPasswordChangeFormId, kFormButtonId}); {kPasswordChangeId, kPasswordChangeFormId, kFormButtonId});
} }
......
...@@ -111,12 +111,12 @@ void EnrollmentUIMixin::ExpectErrorMessage(int error_message_id, ...@@ -111,12 +111,12 @@ void EnrollmentUIMixin::ExpectErrorMessage(int error_message_id,
} }
void EnrollmentUIMixin::RetryAfterError() { void EnrollmentUIMixin::RetryAfterError() {
OobeJS().TapOnPath(kEnrollmentErrorRetryButtonPath); OobeJS().ClickOnPath(kEnrollmentErrorRetryButtonPath);
WaitForStep(ui::kEnrollmentStepSignin); WaitForStep(ui::kEnrollmentStepSignin);
} }
void EnrollmentUIMixin::LeaveDeviceAttributeErrorScreen() { void EnrollmentUIMixin::LeaveDeviceAttributeErrorScreen() {
OobeJS().TapOnPath(kEnrollmentDeviceAttributesErrorButtonPath); OobeJS().ClickOnPath(kEnrollmentDeviceAttributesErrorButtonPath);
} }
void EnrollmentUIMixin::SubmitDeviceAttributes(const std::string& asset_id, void EnrollmentUIMixin::SubmitDeviceAttributes(const std::string& asset_id,
......
...@@ -115,7 +115,7 @@ void OfflineGaiaTestMixin::SubmitGaiaAuthOfflineForm( ...@@ -115,7 +115,7 @@ void OfflineGaiaTestMixin::SubmitGaiaAuthOfflineForm(
->Wait(); ->Wait();
test::OobeJS().TypeIntoPath(user_email, test::OobeJS().TypeIntoPath(user_email,
{"gaia-signin", "offline-gaia", "emailInput"}); {"gaia-signin", "offline-gaia", "emailInput"});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-signin", "offline-gaia", "email-input-form", "button"}); {"gaia-signin", "offline-gaia", "email-input-form", "button"});
test::OobeJS() test::OobeJS()
.CreateDisplayedWaiter(false, .CreateDisplayedWaiter(false,
...@@ -127,7 +127,7 @@ void OfflineGaiaTestMixin::SubmitGaiaAuthOfflineForm( ...@@ -127,7 +127,7 @@ void OfflineGaiaTestMixin::SubmitGaiaAuthOfflineForm(
->Wait(); ->Wait();
test::OobeJS().TypeIntoPath(password, test::OobeJS().TypeIntoPath(password,
{"gaia-signin", "offline-gaia", "passwordInput"}); {"gaia-signin", "offline-gaia", "passwordInput"});
test::OobeJS().TapOnPath( test::OobeJS().ClickOnPath(
{"gaia-signin", "offline-gaia", "password-input-form", "button"}); {"gaia-signin", "offline-gaia", "password-input-form", "button"});
} }
......
...@@ -6,38 +6,25 @@ ...@@ -6,38 +6,25 @@
display: inline-block; display: inline-block;
} }
paper-button { :host([link]) cr-button {
background-color: var(--google-blue-500);
color: white;
font-size: 14px;
min-width: 90px;
}
:host([type='link']) paper-button,
:host([type='dialog']) paper-button {
background-color: transparent; background-color: transparent;
border: none;
border-radius: 0;
box-shadow: none;
color: var(--google-blue-600); color: var(--google-blue-600);
margin: 0; font-weight: 400;
margin: 0 -0.57em;
min-width: 0; min-width: 0;
} }
:host([type='link']) paper-button[focused], :host([link]) cr-button:focus {
:host([type='dialog']) paper-button[focused] {
background-color: rgba(66, 133, 244, 0.12); background-color: rgba(66, 133, 244, 0.12);
} }
:host([type='link']) paper-button[disabled], :host-context(.focus-outline-visible):host([link]) cr-button:focus {
:host([type='dialog']) paper-button[disabled] { font-weight: 500;
color: rgb(168,168,168);
} }
:host([type='dialog']) paper-button { :host([link]) cr-button[disabled] {
padding: 8px 12px; color: rgb(168, 168, 168);
}
:host([type='link']) paper-button {
border-radius: 0;
margin-left: -0.57em;
margin-right: -0.57em;
text-transform: none;
} }
...@@ -4,32 +4,29 @@ ...@@ -4,32 +4,29 @@
<link rel="import" href="chrome://resources/html/polymer.html"> <link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html"> <link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<!-- <!--
Material design buttons that mimic GAIA's buttons. Material design buttons that mimic GAIA's buttons.
Example: Example:
<gaia-button type="dialog"></gaia-button> <gaia-button link></gaia-button>
Attributes: Attributes:
'type' - there are three kinds of button: regular blue button (none type 'link' - there are two kinds of button: regular blue button and a button
provided), dialog button (type="dialog") and a button that looks that looks more like a link.
more like a link (type="link").
'disabled' - button is disabled when the attribute is set. 'disabled' - button is disabled when the attribute is set.
--> -->
<dom-module id="gaia-button"> <dom-module id="gaia-button">
<link rel="stylesheet" href="gaia_button.css"> <link rel="stylesheet" href="gaia_button.css">
<template> <template>
<div on-click="onClick_" on-tap="onClick_"> <cr-button id="button" disabled="[[disabled]]" on-click="onClick_"
<paper-button id="button" disabled="[[disabled]]" noink$="[[link]]">
on-focused-changed="focusedChanged_"> <slot></slot>
<slot></slot> </cr-button>
</paper-button>
</div>
</template> </template>
</dom-module> </dom-module>
......
...@@ -2,26 +2,22 @@ ...@@ -2,26 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
/** @enum {string} */
const GaiaButtonType = {
NONE: '',
LINK: 'link',
DIALOG: 'dialog',
};
Polymer({ Polymer({
is: 'gaia-button', is: 'gaia-button',
properties: { properties: {
disabled: {type: Boolean, value: false, reflectToAttribute: true}, disabled: {
type: Boolean,
value: false,
reflectToAttribute: true,
},
/** @type GaiaButtonType */ link: {
type: { type: Boolean,
type: String, value: false,
value: GaiaButtonType.NONE,
reflectToAttribute: true, reflectToAttribute: true,
observer: 'typeChanged_' observer: 'onLinkChanged_',
} },
}, },
focus: function() { focus: function() {
...@@ -29,45 +25,47 @@ Polymer({ ...@@ -29,45 +25,47 @@ Polymer({
}, },
/** @private */ /** @private */
focusedChanged_: function() { onLinkChanged_: function() {
if (this.type == GaiaButtonType.LINK || this.type == GaiaButtonType.DIALOG) this.$.button.classList.toggle('action-button', !this.link);
return;
this.$.button.raised = this.$.button.focused;
}, },
/** @private */ /**
typeChanged_: function() { * @param {!Event} e
if (this.type == GaiaButtonType.LINK) * @private
this.$.button.setAttribute('noink', ''); */
else
this.$.button.removeAttribute('noink');
},
/** @private */
onClick_: function(e) { onClick_: function(e) {
if (this.disabled) if (this.disabled) {
e.stopPropagation(); e.stopPropagation();
} }
},
}); });
Polymer({ Polymer({
is: 'gaia-icon-button', is: 'gaia-icon-button',
properties: { properties: {
disabled: {type: Boolean, value: false, reflectToAttribute: true}, disabled: {
type: Boolean,
value: false,
reflectToAttribute: true,
},
icon: String, icon: String,
ariaLabel: String ariaLabel: String,
}, },
focus: function() { focus: function() {
this.$.iconButton.focus(); this.$.iconButton.focus();
}, },
/** @private */ /**
* @param {!Event} e
* @private
*/
onClick_: function(e) { onClick_: function(e) {
if (this.disabled) if (this.disabled) {
e.stopPropagation(); e.stopPropagation();
} }
},
}); });
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<div on-keydown="onKeyDown_"> <div on-keydown="onKeyDown_">
<slot id="inputs" name="inputs"></slot> <slot id="inputs" name="inputs"></slot>
<div class="horizontal-reverse justified layout center"> <div class="horizontal-reverse justified layout center">
<gaia-button id="button" on-tap="onButtonClicked_" class="self-end" <gaia-button id="button" on-click="onButtonClicked_" class="self-end"
hidden="[[!buttonText]]"> hidden="[[!buttonText]]">
<span>[[buttonText]]</span> <span>[[buttonText]]</span>
</gaia-button> </gaia-button>
......
...@@ -66,10 +66,9 @@ ...@@ -66,10 +66,9 @@
<div slot="label" i18n-content="oldPasswordHint"></div> <div slot="label" i18n-content="oldPasswordHint"></div>
<div slot="error" i18n-content="oldPasswordIncorrect"></div> <div slot="error" i18n-content="oldPasswordIncorrect"></div>
</gaia-input> </gaia-input>
<gaia-button id="forgot-password-link" type="link" <gaia-button id="forgot-password-link"
on-tap="onForgotPasswordClicked_" on-click="onForgotPasswordClicked_"
i18n-content="forgotOldPasswordButtonText"> i18n-content="forgotOldPasswordButtonText" link></gaia-button>
</gaia-button>
</gaia-input-form> </gaia-input-form>
</gaia-card> </gaia-card>
</neon-animatable> </neon-animatable>
...@@ -84,13 +83,10 @@ ...@@ -84,13 +83,10 @@
</p> </p>
</div> </div>
<div class="horizontal layout justified center"> <div class="horizontal layout justified center">
<gaia-button id="try-again-link" type="link" <gaia-button id="try-again-link" on-click="onTryAgainClicked_"
on-tap="onTryAgainClicked_" i18n-content="passwordChangedTryAgain" link></gaia-button>
i18n-content="passwordChangedTryAgain"> <gaia-button id="proceedAnywayBtn" on-click="onProceedClicked_"
</gaia-button> i18n-content="proceedAnywayButton"></gaia-button>
<gaia-button id="proceedAnywayBtn" on-tap="onProceedClicked_"
i18n-content="proceedAnywayButton">
</gaia-button>
</div> </div>
</div> </div>
</gaia-card> </gaia-card>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</div> </div>
</div> </div>
<div class="self-stretch horizontal-reverse layout justified center"> <div class="self-stretch horizontal-reverse layout justified center">
<gaia-button id="submitButton" on-tap="buttonClicked_" <gaia-button id="submitButton" on-click="buttonClicked_"
hidden$="[[!buttonLabel]]"> hidden$="[[!buttonLabel]]">
<span>[[buttonLabel]]</span> <span>[[buttonLabel]]</span>
</gaia-button> </gaia-button>
......
...@@ -135,9 +135,8 @@ ...@@ -135,9 +135,8 @@
error-message="[[i18nDynamic(locale, 'adLoginInvalidPassword')]]"> error-message="[[i18nDynamic(locale, 'adLoginInvalidPassword')]]">
</cr-input> </cr-input>
<div class="flex layout horizontal start-justified"> <div class="flex layout horizontal start-justified">
<gaia-button id="moreOptionsBtn" type="link" <gaia-button id="moreOptionsBtn" on-click="onMoreOptionsClicked_"
on-tap="onMoreOptionsClicked_" hidden="[[!isDomainJoin]]" hidden="[[!isDomainJoin]]" disabled="[[disabled]]" link>
disabled="[[disabled]]">
[[i18nDynamic(locale, 'adJoinMoreOptions')]] [[i18nDynamic(locale, 'adJoinMoreOptions')]]
</gaia-button> </gaia-button>
</div> </div>
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
[[i18nDynamic(locale, 'offlineLoginInvalidPassword')]] [[i18nDynamic(locale, 'offlineLoginInvalidPassword')]]
</div> </div>
</gaia-input> </gaia-input>
<gaia-button type="link" on-tap="onForgotPasswordClicked_"> <gaia-button on-click="onForgotPasswordClicked_" link>
[[i18nDynamic(locale, 'offlineLoginForgotPasswordBtn')]] [[i18nDynamic(locale, 'offlineLoginForgotPasswordBtn')]]
</gaia-button> </gaia-button>
</gaia-input-form> </gaia-input-form>
......
...@@ -56,10 +56,9 @@ Events: ...@@ -56,10 +56,9 @@ Events:
<gaia-input-form id="samlInterstitialForm" <gaia-input-form id="samlInterstitialForm"
on-submit="onSamlPageNextClicked_" on-submit="onSamlPageNextClicked_"
i18n-values="button-text:samlInterstitialNextBtn"> i18n-values="button-text:samlInterstitialNextBtn">
<gaia-button id="changeAccountLink" type="link" <gaia-button id="changeAccountLink"
on-tap="onSamlPageChangeAccountClicked_" on-click="onSamlPageChangeAccountClicked_"
i18n-content="samlInterstitialChangeAccountLink"> i18n-content="samlInterstitialChangeAccountLink" link></gaia-button>
</gaia-button>
</gaia-input-form> </gaia-input-form>
<img id="logo-img" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" <img id="logo-img" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment