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

Unified Diff: chrome/browser/resources/new_tab.html

Issue 7399015: Sync Promo: Add a way to collapse the sync promo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove extra changes Created 9 years, 5 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/new_tab.html
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html
index 9c5fd5f633e2b86126bd17eb2596ebee8e598152..22285b65a9b557e46e60877ac3ce60ea56cc6063 100644
--- a/chrome/browser/resources/new_tab.html
+++ b/chrome/browser/resources/new_tab.html
@@ -66,6 +66,7 @@ chrome.send('getApps');
<link rel="stylesheet" href="chrome://resources/css/throbber.css">
<link rel="stylesheet" href="options/options_page.css">
<link rel="stylesheet" href="sync_setup_overlay.css">
+<link rel="stylesheet" href="new_tab_sync_promo.css">
<script>
/**
@@ -129,6 +130,21 @@ if ('mode' in hashParams) {
<body class="loading"
i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
+<div id="sync-promo" class="collapsed" hidden>
+ <div id="sync-promo-login-status">
+ <span id="sync-promo-user-name"></span>
+ <span id="sync-promo-not-connected"
+ i18n-content="statusNotConnected" hidden></span>
+ </div>
+ <div id="sync-promo-contents">
+ <include src="sync_setup_overlay.html">
+ </div>
+ <div id="sync-promo-toggle">
+ <input id="sync-promo-toggle-button" type="image"
+ src="sync_promo_minimize.png"/>
James Hawkins 2011/07/18 02:37:36 s/\///
sail 2011/07/20 01:30:46 Done.
+ </div>
+</div>
+
<div id="attribution" class="attribution nolayout">
<div i18n-content="attributionintro"></div>
<img id="attribution-img">
@@ -144,8 +160,6 @@ if ('mode' in hashParams) {
</div>
</div>
- <include src="sync_setup_overlay.html">
-
<div id="login-container">
<span id="login-username"></span>
</div>

Powered by Google App Engine
This is Rietveld 408576698