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

Unified Diff: chrome/browser/resources/chromeos/login/offline_gaia.html

Issue 1110493002: ChromeOS Gaia: UI polishing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed copyright Created 5 years, 8 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/offline_gaia.html
diff --git a/chrome/browser/resources/chromeos/login/offline_gaia.html b/chrome/browser/resources/chromeos/login/offline_gaia.html
index f94aaec0aebfa627e40dd224403e0dd8307faf11..ea17f2498cf91c56f994d79d20ed7b2a81ebc58a 100644
--- a/chrome/browser/resources/chromeos/login/offline_gaia.html
+++ b/chrome/browser/resources/chromeos/login/offline_gaia.html
@@ -16,13 +16,16 @@
Attributes:
'enterpriseInfo' - Information about device management.
+ 'emailDomain' - autocomplete domain for the email input.
Events:
- 'flowfinished' - fired when user enters login and password. Fires with an
- argument |credentials| which contains.
- |credentials| = { 'useOffline': true,
- 'email': <typed email>,
- 'password': <typed password> }
+ 'authCompleted' - fired when user enters login and password. Fires with an
+ argument |credentials| which contains.
+ |credentials| = { 'useOffline': true,
+ 'email': <email>,
+ 'password': <typed password> }
+ If user did not type domain |email| will be added by
+ "@gmail.com" or by 'emailDomain' if it is set.
Methods:
'focus' - focuses current screen (email input or password input);
'setEmail' - accepts an argument |email|. If |email| is empty it sets
@@ -30,7 +33,8 @@
screen to password input and shows error that previously
entered password is incorrect.
-->
-<polymer-element name="offline-gaia" vertical layout attributes="enterpriseInfo">
+<polymer-element name="offline-gaia" vertical layout
+ attributes="enterpriseInfo emailDomain">
<template>
<link rel="stylesheet" href="offline_gaia.css">
<gaia-core-icon-button id="backButton" icon="arrow-back"
@@ -48,6 +52,7 @@
</div>
<div class="footer" flex vertical layout justified>
<gaia-input-form id="emailInput" inputType="email"
+ emailDomain="{{emailDomain}}"
i18n-values="errorMsg:offlineLoginInvalidEmail;
inputLabel:offlineLoginEmail;
buttonText:offlineLoginNextBtn">
« no previous file with comments | « chrome/browser/resources/chromeos/login/gaia_input_form.js ('k') | chrome/browser/resources/chromeos/login/offline_gaia.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698