Chromium Code Reviews| Index: chrome/browser/resources/new_tab.html |
| diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html |
| index 96e2a08525597b3e77617b4586df52d3e33c701c..d5c48c7dca96f31320a475eea87dd6b93e3ac15e 100644 |
| --- a/chrome/browser/resources/new_tab.html |
| +++ b/chrome/browser/resources/new_tab.html |
| @@ -62,6 +62,10 @@ chrome.send('getApps'); |
| <link rel="stylesheet" href="ntp/most_visited.css"> |
| <link rel="stylesheet" href="ntp/apps.css"> |
| <link rel="stylesheet" href="shared/css/menu.css"> |
| +<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> |
| /** |
| @@ -125,6 +129,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"> |
| + </div> |
| +</div> |
| + |
| <div id="attribution" class="attribution nolayout"> |
| <div i18n-content="attributionintro"></div> |
| <img id="attribution-img"> |
| @@ -306,6 +325,11 @@ i18nTemplate.process(document, templateData); |
| <script src="new_tab.js"></script> |
| <script src="ntp/apps.js"></script> |
| +<script src="chrome://resources/js/cr/event_target.js"></script> |
| +<script src="options/options_page.js"></script> |
|
James Hawkins
2011/07/20 01:55:26
I don't know how we can work around this, but incl
sail
2011/07/20 19:40:25
Done. Added TODO
|
| +<script src="sync_setup_overlay.js"></script> |
| +<script src="new_tab_sync_promo.js"></script> |
| + |
| <script> |
| cr.ui.decorate('menu', cr.ui.Menu); |
| cr.ui.decorate('command', cr.ui.Command); |