| 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..03e8f65b7e95af8ffb240ec944e52f9c4aea8181 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,12 @@ 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>
|
| +<!-- 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>
|
| +
|
| <script>
|
| cr.ui.decorate('menu', cr.ui.Menu);
|
| cr.ui.decorate('command', cr.ui.Command);
|
|
|