summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_tab.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/new_tab.html')
-rw-r--r--chrome/browser/resources/new_tab.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html
index 8fe2429..dc0516b 100644
--- a/chrome/browser/resources/new_tab.html
+++ b/chrome/browser/resources/new_tab.html
@@ -180,7 +180,7 @@ html[dir='rtl'] #mostvisited td {
-webkit-transition:all 0.12s;
}
.thumbnail-title {
- background-image:url(chrome-resource://favicon/);
+ background-image:url(chrome://favicon/);
display:block;
background-repeat:no-repeat;
background-size:16px;
@@ -359,7 +359,7 @@ document.addEventListener('DOMContentLoaded', handleDOMContentLoaded);
<form onsubmit="chrome.send('searchHistoryPage', [this.search.value]); return false;">
<input type="text" class="hint"
name="search"
- style="background-image:url(chrome-resource://favicon/);"
+ style="background-image:url(chrome://favicon/);"
jsvalues="value:searchhistory"
onfocus="handleInputFocus.apply(this);"
onblur="handleInputBlur.apply(this);" />
@@ -416,12 +416,12 @@ function makeMostVisitedDOM(page, number) {
/* Create the thumbnail */
var img_thumbnail = DOM('img', {className:'thumbnail'});
img_thumbnail.setAttribute('onload', "logEvent('image loaded');");
- img_thumbnail.src = 'chrome-resource://thumb/' + page.url;
+ img_thumbnail.src = 'chrome://thumb/' + page.url;
/* Create the title */
var div_title = DOM('div', {className:'thumbnail-title'});
div_title.style.backgroundImage =
- 'url("chrome-resource://favicon/' + page.url + '")';
+ 'url("chrome://favicon/' + page.url + '")';
if (page.title) {
div_title.appendChild(document.createTextNode(page.title));
} else {
@@ -484,7 +484,7 @@ function makeSearchURL(url) {
/* The HTML we want looks like this:
<form>
<input type="text" class="hint"
- style="background-image:url(chrome-resource://favicon/"+url+");"
+ style="background-image:url(chrome://favicon/"+url+");"
value="Search Wikipedia"
onfocus="handleInputFocus();"
onblur="handleInputBlur();" />
@@ -497,10 +497,10 @@ function makeSearchURL(url) {
if (url.favIconURL) {
input.style.backgroundImage =
- 'url("chrome-resource://favicon/iconurl/' + url.favIconURL + '")';
+ 'url("chrome://favicon/iconurl/' + url.favIconURL + '")';
} else {
input.style.backgroundImage =
- 'url("chrome-resource://favicon/http://' + url.short_name + '")';
+ 'url("chrome://favicon/http://' + url.short_name + '")';
}
input.onfocus = handleInputFocus;
@@ -555,7 +555,7 @@ function renderRecentlyBookmarked(entries) {
chrome.send("metrics", ["NTP_Bookmark" + i])
}, false);
link.style.backgroundImage =
- 'url("chrome-resource://favicon/' + entry.url + '")';
+ 'url("chrome://favicon/' + entry.url + '")';
link.appendChild(document.createTextNode(entry.title));
container.appendChild(link);
}
@@ -593,7 +593,7 @@ function renderRecentlyClosedTabs(entries) {
}
}(entry.sessionId);
- link.style.backgroundImage = 'url("chrome-resource://favicon/' + entry.url + '")';
+ link.style.backgroundImage = 'url("chrome://favicon/' + entry.url + '")';
link.appendChild(document.createTextNode(entry.title));
container.appendChild(link);
}