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

Unified Diff: chrome/browser/resources/ntp4/bookmarks_page.js

Issue 7837008: ntp: add tooltips for all tile types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.js ('k') | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/bookmarks_page.js
diff --git a/chrome/browser/resources/ntp4/bookmarks_page.js b/chrome/browser/resources/ntp4/bookmarks_page.js
index 4546d2d7b92eefabf0aa33cacda997b803cc6e8d..4014ca92c31ca7d0111f45cf284c343b185be7e5 100644
--- a/chrome/browser/resources/ntp4/bookmarks_page.js
+++ b/chrome/browser/resources/ntp4/bookmarks_page.js
@@ -68,6 +68,9 @@ cr.define('ntp4', function() {
var title = this.querySelector('.title');
title.textContent = this.data.title;
+ // Sets the tooltip.
+ this.title = this.data.title;
+
if (this.data.url) {
var button = this.querySelector('.button');
button.href = title.href = this.data.url;
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.js ('k') | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698