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

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.html

Issue 2684593002: [Local NTP] Cleanup: Don't create HTML elements dynamically (Closed)
Patch Set: go back to dynamically creating the iframe Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 3 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. --> 5 found in the LICENSE file. -->
6 <head> 6 <head>
7 <link rel="stylesheet" href="chrome-search://local-ntp/theme.css"></link> 7 <link rel="stylesheet" href="chrome-search://local-ntp/theme.css"></link>
8 <link rel="stylesheet" href="chrome-search://local-ntp/local-ntp.css"></link> 8 <link rel="stylesheet" href="chrome-search://local-ntp/local-ntp.css"></link>
9 <script src="chrome-search://local-ntp/config.js"></script> 9 <script src="chrome-search://local-ntp/config.js"></script>
10 <script src="chrome-search://local-ntp/local-ntp.js"></script> 10 <script src="chrome-search://local-ntp/local-ntp.js"></script>
11 <meta charset="utf-8"> 11 <meta charset="utf-8">
12 <meta name="google" value="notranslate"> 12 <meta name="google" value="notranslate">
13 </head> 13 </head>
14 <body> 14 <body>
15 <div id="ntp-contents"> 15 <div id="ntp-contents">
16 <div id="logo" title="Google"></div>
17 <div id="fakebox">
18 <div id="fakebox-text"></div>
19 <input id="fakebox-input" autocomplete="off" tabIndex="-1" type="url"
20 aria-hidden="true">
21 <div id="cursor"></div>
22 </div>
16 <div id="most-visited"> 23 <div id="most-visited">
17 <!-- The container for the tiles. The iframe goes in here. --> 24 <!-- The container for the tiles. The MV iframe goes in here. -->
18 <div id="mv-tiles"></div> 25 <div id="mv-tiles"></div>
19 <!-- Notification shown when a tile is blacklisted. --> 26 <!-- Notification shown when a tile is blacklisted. -->
20 <div id="mv-notice" class="mv-notice-hide"> 27 <div id="mv-notice" class="mv-notice-hide">
21 <span id="mv-msg"></span> 28 <span id="mv-msg"></span>
22 <!-- Links in the notification. --> 29 <!-- Links in the notification. -->
23 <span id="mv-notice-links"> 30 <span id="mv-notice-links">
24 <span id="mv-undo" tabIndex="1"></span> 31 <span id="mv-undo" tabIndex="1"></span>
25 <span id="mv-restore" tabIndex="1"></span> 32 <span id="mv-restore" tabIndex="1"></span>
26 <div id="mv-notice-x" tabIndex="1"></div> 33 <div id="mv-notice-x" tabIndex="1"></div>
27 </span> 34 </span>
28 </div> 35 </div>
29 </div> 36 </div>
30 <div id="attribution"><div id="attribution-text"></div></div> 37 <div id="attribution"><div id="attribution-text"></div></div>
31 </div> 38 </div>
32 </body> 39 </body>
33 </html> 40 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp.css ('k') | chrome/browser/resources/local_ntp/local_ntp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698