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

Issue 7550015: ntp4: record app launch source (Closed)

Created:
9 years, 4 months ago by Evan Stade
Modified:
9 years, 4 months ago
Reviewers:
Rick Byers
CC:
chromium-reviews, estade+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

ntp4: record app launch source dispense with anchor pings (these are limiting because you have to use anchor elements) and just use chrome.send apis. Also note that ntp3 is broken: NTP_RECENTLY_CLOSED app launches will never be recorded because preventDefault prevents the ping from being sent. BUG=none TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95383

Patch Set 1 #

Total comments: 11

Patch Set 2 : upload for real #

Total comments: 1

Patch Set 3 : better comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M chrome/browser/resources/ntp4/apps_page.css View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/apps_page.js View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/most_visited_page.js View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.html View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/ntp4/recently_closed.js View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 5 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Evan Stade
9 years, 4 months ago (2011-08-02 21:26:35 UTC) #1
Rick Byers
http://codereview.chromium.org/7550015/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): http://codereview.chromium.org/7550015/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode197 chrome/browser/resources/ntp4/apps_page.js:197: appSpan.addEventListener('click', this.onClick_.bind(this)); Why add a handler to both the ...
9 years, 4 months ago (2011-08-03 14:41:11 UTC) #2
Evan Stade
http://codereview.chromium.org/7550015/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): http://codereview.chromium.org/7550015/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode197 chrome/browser/resources/ntp4/apps_page.js:197: appSpan.addEventListener('click', this.onClick_.bind(this)); On 2011/08/03 14:41:11, Rick Byers wrote: > ...
9 years, 4 months ago (2011-08-03 22:11:22 UTC) #3
Rick Byers
LGTM with nit http://codereview.chromium.org/7550015/diff/1/chrome/browser/resources/ntp4/most_visited_page.js File chrome/browser/resources/ntp4/most_visited_page.js (right): http://codereview.chromium.org/7550015/diff/1/chrome/browser/resources/ntp4/most_visited_page.js#newcode124 chrome/browser/resources/ntp4/most_visited_page.js:124: chrome.send('recordAppLaunchByURL', On 2011/08/03 22:11:22, Evan Stade ...
9 years, 4 months ago (2011-08-04 00:32:20 UTC) #4
Evan Stade
9 years, 4 months ago (2011-08-04 03:10:25 UTC) #5
comments updated

Powered by Google App Engine
This is Rietveld 408576698