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

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

Issue 7550015: ntp4: record app launch source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better comments Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.css ('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/apps_page.js
diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js
index 50cfdd20b6ac22c4ea5117a49ffe4e48eb7d9d81..24a58a7554af0b87dfa81ba8324e06c20cef43a3 100644
--- a/chrome/browser/resources/ntp4/apps_page.js
+++ b/chrome/browser/resources/ntp4/apps_page.js
@@ -194,6 +194,7 @@ cr.define('ntp4', function() {
var appSpan = this.ownerDocument.createElement('span');
appSpan.textContent = this.appData_.name;
+ appSpan.addEventListener('click', this.onClick_.bind(this));
appContents.appendChild(appSpan);
this.appendChild(appContents);
@@ -436,6 +437,7 @@ cr.define('ntp4', function() {
};
return {
+ APP_LAUNCH: APP_LAUNCH,
AppsPage: AppsPage,
};
});
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.css ('k') | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698