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

Issue 2904713002: [Home] Wait to monitor NTP content suggestions until new tab created (Closed)

Created:
3 years, 7 months ago by Theresa
Modified:
3 years, 7 months ago
Reviewers:
dgn
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Home] Wait to monitor NTP content suggestions until new tab created With the new Chrome Home NTP design, a new tab isn't created until the user navigations inside the NTP. While the Chrome Home NTP is open, the active tab is null. Wait to call NewTabPageUma.monitorContentSuggestionsVisit() until after the suggestion URL has been loaded, which ensures the active tab is not null. BUG=725688 Review-Url: https://codereview.chromium.org/2904713002 Cr-Commit-Position: refs/heads/master@{#474316} Committed: https://chromium.googlesource.com/chromium/src/+/4a09eb44c2529b669b00191c0613db43542c7708

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check for null tab in SuggestionsBottomSheetContent #

Patch Set 3 : Revert changes to SuggestionsBottomSheetContent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
Theresa
ptal
3 years, 7 months ago (2017-05-23 22:45:32 UTC) #3
Theresa
https://codereview.chromium.org/2904713002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java File chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java (right): https://codereview.chromium.org/2904713002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java#newcode139 chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java:139: if (windowOpenDisposition == WindowOpenDisposition.CURRENT_TAB) { Another options would be ...
3 years, 7 months ago (2017-05-24 01:32:06 UTC) #7
dgn
lgtm https://codereview.chromium.org/2904713002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java File chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java (right): https://codereview.chromium.org/2904713002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java#newcode139 chrome/android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsNavigationDelegateImpl.java:139: if (windowOpenDisposition == WindowOpenDisposition.CURRENT_TAB) { On 2017/05/24 01:32:05, ...
3 years, 7 months ago (2017-05-24 10:29:52 UTC) #8
dgn
There is another fallout of the refactoring: Crash when sheet opens with CONTEXTUAL_SUGGESTIONS_CAROUSEL feature enabled. ...
3 years, 7 months ago (2017-05-24 10:57:00 UTC) #9
Theresa
On 2017/05/24 10:57:00, dgn wrote: > There is another fallout of the refactoring: > > ...
3 years, 7 months ago (2017-05-24 15:02:53 UTC) #11
dgn
On 2017/05/24 15:02:53, Theresa wrote: > On 2017/05/24 10:57:00, dgn wrote: > > There is ...
3 years, 7 months ago (2017-05-24 15:30:26 UTC) #14
Theresa
On 2017/05/24 15:30:26, dgn wrote: > On 2017/05/24 15:02:53, Theresa wrote: > > On 2017/05/24 ...
3 years, 7 months ago (2017-05-24 15:32:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2904713002/40001
3 years, 7 months ago (2017-05-24 15:33:54 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 16:14:13 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4a09eb44c2529b669b00191c0613...

Powered by Google App Engine
This is Rietveld 408576698