summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 17:20:26 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 17:20:26 +0000
commit34ec5f621b7e01e07975ddf75edbfec0e5d7486e (patch)
tree762f918a9963d2e729884e54e24f7109602693c8 /chrome
parent6a4ea5c906bc73b61fa11abba556d6438d3f2063 (diff)
downloadchromium_src-34ec5f621b7e01e07975ddf75edbfec0e5d7486e.zip
chromium_src-34ec5f621b7e01e07975ddf75edbfec0e5d7486e.tar.gz
chromium_src-34ec5f621b7e01e07975ddf75edbfec0e5d7486e.tar.bz2
NTP Apps - provide a tooltip in case the app name does not fit.
BUG=None TEST=Install an app with a long enough title to show the ellipsis. Hower over the icon and a tooltip should be shown. Review URL: http://codereview.chromium.org/1728006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/new_new_tab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index bf2b1f1..9e8b859 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -95,7 +95,7 @@ var apps = {
createElement: function(app) {
var a = document.createElement('a');
- a.textContent = app['name'];
+ a.xtitle = a.textContent = app['name'];
a.href = app['launch_url'];
a.id = app['id'];
a.onclick = apps.handleClick_;