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

Unified Diff: chrome/browser/resources/local_ntp/local_ntp.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/local_ntp/local_ntp.html
diff --git a/chrome/browser/resources/local_ntp/local_ntp.html b/chrome/browser/resources/local_ntp/local_ntp.html
index 8db15c74c5d7682e04294ecc8544ba18fb78a514..599e779b846ebc039403341d01b5a04b245ae64e 100644
--- a/chrome/browser/resources/local_ntp/local_ntp.html
+++ b/chrome/browser/resources/local_ntp/local_ntp.html
@@ -13,9 +13,19 @@
</head>
<body>
<div id="ntp-contents">
+ <div id="logo" title="Google"></div>
+ <div id="fakebox">
+ <div id="fakebox-text"></div>
+ <input id="fakebox-input" autocomplete="off" tabindex="-1" type="url"
+ aria-hidden="true">
+ <div id="cursor"></div>
+ </div>
<div id="most-visited">
- <!-- The container for the tiles. The iframe goes in here. -->
- <div id="mv-tiles"></div>
+ <!-- The container for the tiles. -->
+ <div id="mv-tiles">
+ <!-- The src is set dynamically, since it's used to pass params. -->
+ <iframe id="mv-single" tabindex=1></iframe>
+ </div>
<!-- Notification shown when a tile is blacklisted. -->
<div id="mv-notice" class="mv-notice-hide">
<span id="mv-msg"></span>

Powered by Google App Engine
This is Rietveld 408576698