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

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: Sync Promo: Add a way to collapse the sync promo 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/new_tab.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_tab.html
===================================================================
--- chrome/browser/resources/new_tab.html (revision 93571)
+++ chrome/browser/resources/new_tab.html (working copy)
@@ -65,6 +65,7 @@
<link rel="stylesheet" href="chrome://resources/css/button.css">
<link rel="stylesheet" href="chrome://resources/css/throbber.css">
<link rel="stylesheet" href="sync_setup_overlay.css">
+<link rel="stylesheet" href="new_tab_sync_promo.css">
<script>
/**
@@ -128,6 +129,21 @@
<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">
+ </div>
+</div>
+
<div id="attribution" class="attribution nolayout">
<div i18n-content="attributionintro"></div>
<img id="attribution-img">
@@ -143,8 +159,6 @@
</div>
</div>
- <include src="sync_setup_overlay.html">
-
<div id="login-container">
<span id="login-username"></span>
</div>
@@ -312,6 +326,7 @@
<script src="ntp/apps.js"></script>
<script src="chrome://resources/js/cr/event_target.js"></script>
+<!-- TODO(sail): Refactor options_page and remove this include. -->
<script src="options/options_page.js"></script>
<script src="sync_setup_overlay.js"></script>
<script src="new_tab_sync_promo.js"></script>
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698