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

Side by Side Diff: chrome/browser/resources/local_ntp/most_visited_title.js

Issue 448793003: [Most Visited] Support two additional parameters in the iframes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 4 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 /** 6 /**
7 * @fileoverview Rendering for iframed most visited titles. 7 * @fileoverview Rendering for iframed most visited titles.
8 */ 8 */
9 9
10 window.addEventListener('DOMContentLoaded', function() { 10 window.addEventListener('DOMContentLoaded', function() {
11 'use strict'; 11 'use strict';
12 12
13 fillMostVisited(window.location, function(params, data) { 13 fillMostVisited(window.location, function(params, data) {
14 document.body.appendChild( 14 document.body.appendChild(
15 createMostVisitedLink( 15 createMostVisitedLink(
16 params, data.url, data.title, data.title, data.provider)); 16 params, data.url, data.title, data.title, data.direction,
17 data.provider));
17 }); 18 });
18 }); 19 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_title.css ('k') | chrome/browser/resources/local_ntp/most_visited_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698