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

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: 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 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">
23 <!-- The container for the tiles. The MV iframe goes in here. -->
16 <div id="mv-tiles"></div> 24 <div id="mv-tiles"></div>
17 <!-- Notification shown when a tile is blacklisted. --> 25 <!-- Notification shown when a tile is blacklisted. -->
18 <div id="mv-notice" class="mv-notice-hide"> 26 <div id="mv-notice" class="mv-notice-hide">
19 <span id="mv-msg"></span> 27 <span id="mv-msg"></span>
20 <!-- Links in the notification. --> 28 <!-- Links in the notification. -->
21 <span id="mv-notice-links"> 29 <span id="mv-notice-links">
22 <span id="mv-undo" tabIndex="1"></span> 30 <span id="mv-undo" tabIndex="1"></span>
23 <span id="mv-restore" tabIndex="1"></span> 31 <span id="mv-restore" tabIndex="1"></span>
24 <button id="mv-notice-x" tabIndex="1" class="mv-x"></button> 32 <button id="mv-notice-x" tabIndex="1" class="mv-x"></button>
25 </span> 33 </span>
26 </div> 34 </div>
27 </div> 35 </div>
28 <div id="attribution"><div id="attribution-text"></div></div> 36 <div id="attribution"><div id="attribution-text"></div></div>
29 </div> 37 </div>
30 </template> 38 </template>
31 </head> 39 </head>
32 <body> 40 <body>
33 </body> 41 </body>
34 </html> 42 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp.js ('k') | chrome/test/data/local_ntp_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698