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

Side by Side Diff: chrome/browser/resources/history.html

Issue 18175: Change chrome:// to chrome-ui://, fix up one chrome-resource:// reference. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html id="t"> 2 <html id="t">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title jscontent="title"></title> 5 <title jscontent="title"></title>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 /////////////////////////////////////////////////////////////////////////////// 7 ///////////////////////////////////////////////////////////////////////////////
8 // Globals: 8 // Globals:
9 var RESULTS_PER_PAGE = 60; 9 var RESULTS_PER_PAGE = 60;
10 var MAX_SEARCH_DEPTH = 18; 10 var MAX_SEARCH_DEPTH = 18;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 return Page.getHighlightedText_(this.title_, this.model_.getSearchText()); 140 return Page.getHighlightedText_(this.title_, this.model_.getSearchText());
141 } 141 }
142 142
143 /** 143 /**
144 * @return {string} HTML for the title block. 144 * @return {string} HTML for the title block.
145 */ 145 */
146 Page.prototype.getTitleHTML_ = function() { 146 Page.prototype.getTitleHTML_ = function() {
147 return '<div class="title">' + 147 return '<div class="title">' +
148 '<a ' + 148 '<a ' +
149 'href="' + this.url_ + '" ' + 149 'href="' + this.url_ + '" ' +
150 'style="background-image:url(chrome://favicon/' + 150 'style="background-image:url(chrome-ui://favicon/' +
151 this.url_ + ')" ' + 151 this.url_ + ')" ' +
152 '>' + 152 '>' +
153 this.getHighlightedTitle_() + 153 this.getHighlightedTitle_() +
154 '</a>' + 154 '</a>' +
155 '</div>'; 155 '</div>';
156 } 156 }
157 157
158 // Page, private, static: ----------------------------------------------------- 158 // Page, private, static: -----------------------------------------------------
159 /** 159 /**
160 * Case-insensitively highlights a string. 160 * Case-insensitively highlights a string.
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 } 508 }
509 509
510 /** 510 /**
511 * Get the HTML representation of a page navigation link. 511 * Get the HTML representation of a page navigation link.
512 * @param {number} page The page index the navigation element should link to 512 * @param {number} page The page index the navigation element should link to
513 * @param {string} name The text content of the link 513 * @param {string} name The text content of the link
514 * @return {string} HTML representation of the pagination link 514 * @return {string} HTML representation of the pagination link
515 */ 515 */
516 HistoryView.prototype.createPageNavHTML_ = function(page, name) { 516 HistoryView.prototype.createPageNavHTML_ = function(page, name) {
517 var hashString = PageState.getHashString(this.model_.getSearchText(), page); 517 var hashString = PageState.getHashString(this.model_.getSearchText(), page);
518 return '<a href="chrome://history/' + 518 return '<a href="chrome-ui://history/' +
519 (hashString ? '#' + hashString : '') + 519 (hashString ? '#' + hashString : '') +
520 '"' + 520 '"' +
521 'class="page-navigation"' + 521 'class="page-navigation"' +
522 'onclick="setPage(' + page + '); return false;"' + 522 'onclick="setPage(' + page + '); return false;"' +
523 '>' + name + '</a>'; 523 '>' + name + '</a>';
524 } 524 }
525 525
526 /////////////////////////////////////////////////////////////////////////////// 526 ///////////////////////////////////////////////////////////////////////////////
527 // State object: 527 // State object:
528 /** 528 /**
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 <span id="older" jscontent="older">Older &#8250;</span> 780 <span id="older" jscontent="older">Older &#8250;</span>
781 <span id="searchresultsfor" jscontent="searchresultsfor">Search results for '% s'</span> 781 <span id="searchresultsfor" jscontent="searchresultsfor">Search results for '% s'</span>
782 <span id="history" jscontent="history">History</span> 782 <span id="history" jscontent="history">History</span>
783 <span id="cont" jscontent="cont">(cont.)</span> 783 <span id="cont" jscontent="cont">(cont.)</span>
784 <span id="noresults" jscontent="noresults">No results</span> 784 <span id="noresults" jscontent="noresults">No results</span>
785 <span id="noitems" jscontent="noitems">No items</span> 785 <span id="noitems" jscontent="noitems">No items</span>
786 <span id="delete" jscontent="delete">delete</span> 786 <span id="delete" jscontent="delete">delete</span>
787 </div> 787 </div>
788 </body> 788 </body>
789 </html> 789 </html>
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/renderer_security_policy_unittest.cc ('k') | chrome/browser/resources/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698