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

Side by Side Diff: chrome/test/data/local_ntp_browsertest.html

Issue 2684593002: [Local NTP] Cleanup: Don't create HTML elements dynamically (Closed)
Patch Set: tests 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 2013 The Chromium Authors. All rights reserved. 3 <!-- Copyright 2013 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 <script>window.localNTPUnitTest = true;</script> 7 <script>window.localNTPUnitTest = true;</script>
8 <script src="chrome-search://local-ntp/config.js"></script> 8 <script src="chrome-search://local-ntp/config.js"></script>
9 <script src="chrome-search://local-ntp/local-ntp.js"></script> 9 <script src="chrome-search://local-ntp/local-ntp.js"></script>
10 <script src="chrome-search://most-visited/util.js"></script> 10 <script src="chrome-search://most-visited/util.js"></script>
11 <link rel="stylesheet" href="chrome-search://local-ntp/local-ntp.css"></link> 11 <link rel="stylesheet" href="chrome-search://local-ntp/local-ntp.css"></link>
12 <script src="local_ntp_browsertest.js"></script> 12 <script src="local_ntp_browsertest.js"></script>
13 <template id="local-ntp-body"> 13 <template id="local-ntp-body">
14 <div id="ntp-contents"> 14 <div id="ntp-contents">
15 <div id="logo" title="Google"></div>
16 <div id="fakebox">
17 <div id="fakebox-text"></div>
18 <input id="fakebox-input" autocomplete="off" tabindex="-1" type="url"
19 aria-hidden="true">
20 <div id="cursor"></div>
21 </div>
15 <div id="most-visited"> 22 <div id="most-visited">
16 <div id="mv-tiles"></div> 23 <!-- The container for the tiles. -->
24 <div id="mv-tiles">
25 <!-- The src is set dynamically, since it's used to pass params. -->
26 <iframe id="mv-single" tabindex=1></iframe>
27 </div>
17 <!-- Notification shown when a tile is blacklisted. --> 28 <!-- Notification shown when a tile is blacklisted. -->
18 <div id="mv-notice" class="mv-notice-hide"> 29 <div id="mv-notice" class="mv-notice-hide">
19 <span id="mv-msg"></span> 30 <span id="mv-msg"></span>
20 <!-- Links in the notification. --> 31 <!-- Links in the notification. -->
21 <span id="mv-notice-links"> 32 <span id="mv-notice-links">
22 <span id="mv-undo" tabIndex="1"></span> 33 <span id="mv-undo" tabIndex="1"></span>
23 <span id="mv-restore" tabIndex="1"></span> 34 <span id="mv-restore" tabIndex="1"></span>
24 <button id="mv-notice-x" tabIndex="1" class="mv-x"></button> 35 <button id="mv-notice-x" tabIndex="1" class="mv-x"></button>
25 </span> 36 </span>
26 </div> 37 </div>
27 </div> 38 </div>
28 <div id="attribution"><div id="attribution-text"></div></div> 39 <div id="attribution"><div id="attribution-text"></div></div>
29 </div> 40 </div>
30 </template> 41 </template>
31 </head> 42 </head>
32 <body> 43 <body>
33 </body> 44 </body>
34 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698