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

Unified Diff: chrome/browser/resources/sync_setup_overlay.js

Issue 8283014: Sync: Update look of sign in box (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: promo page Created 9 years, 2 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/sync_setup_overlay.js
diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js
index fda3058411837eb9e3580be54b5c6889e29d12de..a60b29b0f2bb90bbaca527cbfc2c7b4c9785eba6 100644
--- a/chrome/browser/resources/sync_setup_overlay.js
+++ b/chrome/browser/resources/sync_setup_overlay.js
@@ -41,19 +41,6 @@ cr.define('options', function() {
initializePage: function() {
OptionsPage.prototype.initializePage.call(this);
- var acct_text = $('gaia-account-text');
- var translated_text = acct_text.textContent;
- var posGoogle = translated_text.indexOf('Google');
- if (posGoogle != -1) {
- var googleIsAtEndOfSentence = posGoogle != 0;
-
- if (googleIsAtEndOfSentence) {
- var logo_td = $('gaia-logo');
- logo_td.parentNode.appendChild(logo_td);
- }
- acct_text.textContent = translated_text.replace('Google','');
- }
-
var self = this;
$('gaia-login-form').onsubmit = function() {
self.sendCredentialsAndClose_();
@@ -577,11 +564,8 @@ cr.define('options', function() {
showAccessCodeRequired_: function() {
$('password-row').hidden = true;
$('email-row').hidden = true;
- $('create-account-cell').style.visibility = "hidden";
- $('access-code-label-row').hidden = false;
$('access-code-input-row').hidden = false;
- $('access-code-help-row').hidden = false;
$('access-code').disabled = false;
},
@@ -591,7 +575,6 @@ cr.define('options', function() {
// The captcha takes up lots of space, so make room.
$('top-blurb-error').hidden = true;
$('create-account-div').hidden = true;
- $('create-account-cell').hidden = true;
// It's showtime for the captcha now.
$('captcha-div').hidden = false;

Powered by Google App Engine
This is Rietveld 408576698