| Index: chrome/browser/resources/ntp_android/new_tab.html
|
| diff --git a/chrome/browser/resources/ntp_android/new_tab.html b/chrome/browser/resources/ntp_android/new_tab.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e5bd4ac825110e9bf9042cbbc1c4993e577fd76a
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/ntp_android/new_tab.html
|
| @@ -0,0 +1,81 @@
|
| +<!DOCTYPE html>
|
| +<html i18n-values="dir:textdirection;">
|
| + <head>
|
| + <meta charset="utf-8">
|
| + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
| + <title i18n-content="title"></title>
|
| + <link rel="stylesheet" href="ntp_android.css">
|
| + <link rel="stylesheet" href="bookmarks.css">
|
| + <link rel="stylesheet" href="bookmarks_tablet.css">
|
| + <link rel="stylesheet" href="mostvisited.css">
|
| + <link rel="stylesheet" href="mostvisited_tablet.css">
|
| + <link rel="stylesheet" href="opentabs.css">
|
| + <link rel="stylesheet" href="opentabs_tablet.css">
|
| + <link rel="stylesheet" href="incognito_tab.css">
|
| + <!-- template data placeholder -->
|
| + <script src="../shared/js/cr.js"></script>
|
| + <script src="ntp_android.js"></script>
|
| + <script>
|
| + var MOCK = document.location.host != "newtab";
|
| + if (MOCK) {
|
| + document.write('<script src="mockdata.js"><\/script>');
|
| + var templateData = {
|
| + "title":"New Tab",
|
| + "mostvisited":"Most Visited",
|
| + "remotetabs":"Open Tabs"
|
| + };
|
| + }
|
| + </script>
|
| + </head>
|
| + <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize;device:device">
|
| + <div id="content-area" style="display:none">
|
| + <div class="main-section" id="open_tabs_container">
|
| + <div class="center-empty-container" id="sync_enable_sync" style="display: none;">
|
| + <div class="center-empty-content" i18n-values=".innerHTML:syncEnableSync"></div>
|
| + </div>
|
| + <div class="center-empty-container" id="sync_promo" style="display: none;">
|
| + <div id="promo_message_on_sync_promo_legacy" class="center-empty-content" i18n-values=".innerHTML:syncPromo"></div>
|
| + </div>
|
| + <div class="center-empty-container" id="sync_loading" style="display: none;">
|
| + <div class="center-empty-content" i18n-values=".innerHTML:syncLoading"></div>
|
| + </div>
|
| + <div class="page-list" id="open_tabs_list" style="display: none;"></div>
|
| + <div class="page-list" id="snapshots_list" style="display: none;"></div>
|
| + <div id="promo_message_on_open_tabs" class="promo-message" style="display: none;"></div>
|
| + </div>
|
| + <div class="main-section" id="bookmarks_container">
|
| + <div id="bookmarks_contents">
|
| + <div class="section-title-wrapper" id="bookmarks_title_wrapper">
|
| + <div class="section-title-mask">
|
| + <div class="section-title"></div>
|
| + <div class="overflow-left-mask"></div>
|
| + <div class="overflow-right-mask"></div>
|
| + </div>
|
| + </div>
|
| + <div class="icon-grid grid-set-top-margin grid-set-item-margins" id="bookmarks_list"></div>
|
| + </div>
|
| + </div>
|
| + <div class="main-section" id="most_visited_container">
|
| + <div class="icon-grid" id="most_visited_list"></div>
|
| + <div class="box-spacer"></div>
|
| + <div id="recently_closed_container" style="display:none;">
|
| + <div class="recently-closed-title-container">
|
| + <span class="title" i18n-content="recentlyclosed"></span>
|
| + </div>
|
| + <div class="page-list" id="recently_closed_list"></div>
|
| + </div>
|
| + <div id="promo_message_on_most_visited" class="promo-message" style="display: none;"></div>
|
| + </div>
|
| + <div class="main-section" id="incognito_container">
|
| + <div class="content">
|
| + <img src="../shared/images/otr_icon_standalone.png" class="icon"/>
|
| + <span i18n-values=".innerHTML:content"></span>
|
| + </div>
|
| + </div>
|
| + </div>
|
| + </body>
|
| + <script src="../shared/js/i18n_template.js"></script>
|
| + <script>
|
| + i18nTemplate.process(document, templateData);
|
| + </script>
|
| +</html>
|
|
|