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

Unified Diff: chrome/browser/resources/ntp_android/new_tab.html

Issue 10928039: Add support for testing Android's NTP w/o Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolved review nits. Created 8 years, 3 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/ntp_android/new_tab.html
diff --git a/chrome/browser/resources/ntp_android/new_tab.html b/chrome/browser/resources/ntp_android/new_tab.html
index 6fcc89ddcdab7bd8ffe796cef4398ebfc84ee469..73e85d151f8dc5a792233765829d5fe7aaa8400d 100644
--- a/chrome/browser/resources/ntp_android/new_tab.html
+++ b/chrome/browser/resources/ntp_android/new_tab.html
@@ -18,14 +18,8 @@
<script src="../shared/js/parse_html_subset.js"></script>
<script src="ntp_android.js"></script>
<script>
- var MOCK = document.location.host != "newtab";
- if (MOCK) {
+ if (document.location.host != "newtab") {
document.write('<script src="mockdata.js"><\/script>');
- var templateData = {
- "title":"New Tab",
- "mostvisited":"Most Visited",
- "remotetabs":"Open Tabs"
- };
}
</script>
</head>
« no previous file with comments | « chrome/browser/resources/ntp_android/mockdata.js ('k') | chrome/browser/resources/ntp_android/ntp_android.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698