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

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

Issue 8505041: ntp: make the app promo button use LaunchApp instead of being a dumb <a> link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | 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 dd96ad5b02fef2b2e9fd5bc536ab4592a4853e0f..6e12e5e1b9ef9947bce762d2beb8da7c8e164787 100644
--- a/chrome/browser/resources/ntp4/apps_page.js
+++ b/chrome/browser/resources/ntp4/apps_page.js
@@ -370,6 +370,7 @@ cr.define('ntp4', function() {
this.appsPromoExtras_.querySelector('.apps-promo-heading');
this.appsPromoLink_ =
this.appsPromoExtras_.querySelector('.apps-promo-link');
+ this.appsPromoLink_.addEventListener('click', this.onClick_.bind(this));
this.appsPromoLogo_ = this.ownerDocument.createElement('img');
this.appsPromoLogo_.className = 'apps-promo-logo';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698