Updated drag and drop thumbnails.
[chromium-blink-merge.git] / chrome / browser / resources / ntp4 / new_tab.html
blob949266953570099e23129ce429b299e1273b8b1a
1 <!DOCTYPE html>
2 <html i18n-values="
3 dir:textdirection;
4 hasattribution:hasattribution;
5 themegravity:themegravity;
6 bookmarkbarattached:bookmarkbarattached;"
7 class="starting-up">
8 <head>
9 <meta charset="utf-8">
10 <title i18n-content="title"></title>
11 <!-- Don't scale the viewport in either portrait or landscape mode.
12 Note that this means apps will be reflowed when rotated (like iPad).
13 If we wanted to maintain position we could remove 'maximum-scale' so
14 that we'd zoom out in portrait mode, but then there would be a bunch
15 of unusable space at the bottom.
16 -->
17 <meta name="viewport"
18 content="user-scalable=no, width=device-width, maximum-scale=1.0">
20 <!-- It's important that this be the first script loaded. -->
21 <script src="logging.js"></script>
23 <link rel="stylesheet" href="../shared/css/bubble.css">
24 <link rel="stylesheet" href="../shared/css/expandable_bubble.css">
25 <link rel="stylesheet" href="../shared/css/menu.css">
26 <link rel="stylesheet" href="../shared/css/menu_button.css">
27 <link rel="stylesheet" href="../shared/css/trash.css">
28 <link rel="stylesheet" href="../shared/css/widgets.css">
29 <link rel="stylesheet" href="apps_page.css">
30 <link rel="stylesheet" href="chrome://newtab/suggestions_page.css">
31 <link rel="stylesheet" href="most_visited_page.css">
32 <link rel="stylesheet" href="nav_dot.css">
33 <link rel="stylesheet" href="new_tab.css">
34 <link rel="stylesheet" href="footer_menu.css">
35 <link rel="stylesheet" href="tile_page.css">
36 <link id="themecss" rel="stylesheet">
38 <script src="../shared/js/event_tracker.js"></script>
39 <script src="../shared/js/load_time_data.js"></script>
40 <script src="../shared/js/parse_html_subset.js"></script>
41 <script src="../shared/js/util.js"></script>
43 <script src="../shared/js/cr.js"></script>
44 <script src="../shared/js/cr/ui.js"></script>
45 <script src="../shared/js/cr/ui/bubble.js"></script>
46 <script src="../shared/js/cr/ui/card_slider.js"></script>
47 <script src="../shared/js/cr/ui/context_menu_handler.js"></script>
48 <script src="../shared/js/cr/ui/drag_wrapper.js"></script>
49 <script src="../shared/js/cr/ui/expandable_bubble.js"></script>
50 <script src="../shared/js/cr/ui/menu.js"></script>
51 <script src="../shared/js/cr/ui/menu_item.js"></script>
52 <script src="../shared/js/cr/ui/position_util.js"></script>
53 <script src="../shared/js/cr/ui/menu_button.js"></script>
54 <script src="../shared/js/cr/ui/context_menu_button.js"></script>
55 <script src="../shared/js/cr/ui/touch_handler.js"></script>
57 <script src="tile_page.js"></script>
58 <script src="apps_page.js"></script>
59 <script src="dot_list.js"></script>
60 <script src="most_visited_page.js"></script>
61 <script src="trash.js"></script>
62 <script src="page_list_view.js"></script>
63 <script src="page_switcher.js"></script>
65 <script src="nav_dot.js"></script>
66 <script src="new_tab.js"></script>
67 <script src="recently_closed.js"></script>
68 <script src="other_sessions.js"></script>
69 </head>
71 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
72 <div id="notification-container" class="inactive" hidden>
73 <div id="notification">
74 <span></span>
75 <div id="notificationLinks"></div>
76 <button class="close-button custom-appearance" class="custom-appearance">
77 </button>
78 </div>
79 </div>
81 <div id="card-slider-frame">
82 <button id="page-switcher-start" class="page-switcher custom-appearance"
83 tabindex="2" hidden>
84 </button>
85 <div id="page-list"></div>
86 <button id="page-switcher-end" class="page-switcher custom-appearance"
87 tabindex="2" hidden>
88 </button>
89 <div id="attribution">
90 <span i18n-content="attributionintro"></span>
91 <img id="attribution-img">
92 </div>
93 </div>
95 <div id="footer">
96 <div id="footer-border"></div>
97 <div id="footer-content">
98 <div id="logo-img">
99 <img alt="" src="chrome://theme/IDR_PRODUCT_LOGO">
100 <div id="promo-bubble-anchor"></div>
101 </div>
103 <ul id="dot-list">
104 </ul>
106 <div id="footer-menu-container" class="menu-container">
107 <button id="other-sessions-menu-button"
108 class="footer-menu-button custom-appearance" hidden>
109 <span i18n-content="otherSessions"></span>
110 <div class="disclosure-triangle"></div>
111 </button>
112 <button id="recently-closed-menu-button"
113 class="footer-menu-button custom-appearance">
114 <span i18n-content="recentlyclosed"></span>
115 <div class="disclosure-triangle"></div>
116 </button>
117 <div id="vertical-separator"></div>
118 </div>
120 <a id="chrome-web-store-link">
121 <span id="chrome-web-store-title" i18n-content="webStoreTitleShort">
122 </span>
123 </a>
125 <div id="trash" class="trash">
126 <span class="lid"></span>
127 <span class="can"></span>
128 <span class="trash-text" i18n-content="appuninstall"></span>
129 </div>
130 </div>
131 </div>
133 <button id="login-container" class="custom-appearance" hidden>
134 <div id="login-status-header-container" class="login-status-row">
135 <div id="login-status-header"></div>
136 </div>
137 <div id="login-status-sub-header"></div>
138 </button>
139 </body>
141 <!-- A div to hold all the templates, and in the darkness bind them. -->
142 <div hidden>
144 <!-- Login status bubble -->
145 <div id="login-status-bubble-contents">
146 <div id="login-status-message-container">
147 <span i18n-content="login_status_message"></span>
148 <a id="login-status-learn-more" i18n-content="learn_more"
149 i18n-values="href:login_status_url" target="_blank"></a>
150 </div>
151 <div class="login-status-row">
152 <div id="login-status-advanced-container">
153 <a id="login-status-advanced"
154 i18n-content="login_status_advanced" href="#"></a>
155 </div>
156 <button id="login-status-dismiss" i18n-content="login_status_dismiss">
157 </button>
158 </div>
159 </div>
161 <!-- App Contents w/ Large Icon -->
162 <div id="app-large-icon-template" class="app-contents">
163 <div class="app-img-container" aria-hidden="true">
164 <img class="invisible" alt="">
165 </div>
166 <span class="title"></span>
167 </div>
169 <!-- App Contents w/ Small Icon -->
170 <div id="app-small-icon-template" class="app-contents">
171 <div class="app-icon-div" aria-hidden="true">
172 <div class="app-img-container">
173 <img class="invisible" alt="">
174 </div>
175 <div class="color-stripe"></div>
176 </div>
177 <span class="title"></span>
178 </div>
180 <!-- Message shown in the other sessions menu when the user is signed in but
181 there is no session data (e.g. they have tab sync turned off). -->
182 <div id="other-sessions-promo-template" class="other-sessions-promo-message">
183 <span i18n-content="otherSessionsEmpty"></span>
185 <a i18n-values="href:otherSessionsLearnMoreUrl" i18n-content="learnMore">
186 </a>
187 </p>
188 </div>
190 </div>
192 <!-- This is used to measure text in the current locale. It is not visible. -->
193 <div id="fontMeasuringDiv"></div>
195 </html>