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

Issue 2347273002: Closing unused new tabs for ARC (Closed)

Created:
4 years, 3 months ago by djacobo_
Modified:
4 years, 3 months ago
Reviewers:
Yusuke Sato, sky
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Closing unused new tabs for ARC Some links open a new tab while navigating, given that we redirect some of the traffic to ARC, it can be necessary to close any unused tab. Since we are closing the contained WebContents on a tab, we need to make sure the callback within the UI doesn't get called twice, since intent picker has an observer for the WebContents. BUG=647806 TEST=manual test Committed: https://crrev.com/580779d7bc1eda07b42bd467d60ca6c18765c3db Cr-Commit-Position: refs/heads/master@{#419335}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M chrome/browser/chromeos/arc/arc_navigation_throttle.cc View 2 chunks +4 lines, -0 lines 2 comments Download
M chrome/browser/ui/views/intent_picker_bubble_view.cc View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Yusuke Sato
https://codereview.chromium.org/2347273002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2347273002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode252 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:252: if (handle->GetWebContents()->GetController().IsInitialNavigation()) Does handle->GetWebContents() always return a non-null object?
4 years, 3 months ago (2016-09-16 22:42:04 UTC) #10
djacobo_
https://codereview.chromium.org/2347273002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc File chrome/browser/chromeos/arc/arc_navigation_throttle.cc (right): https://codereview.chromium.org/2347273002/diff/1/chrome/browser/chromeos/arc/arc_navigation_throttle.cc#newcode252 chrome/browser/chromeos/arc/arc_navigation_throttle.cc:252: if (handle->GetWebContents()->GetController().IsInitialNavigation()) On 2016/09/16 22:42:04, Yusuke Sato wrote: > ...
4 years, 3 months ago (2016-09-16 23:01:49 UTC) #13
sky
LGTM
4 years, 3 months ago (2016-09-16 23:21:36 UTC) #14
Yusuke Sato
lgtm
4 years, 3 months ago (2016-09-16 23:59:55 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/2347273002/1
4 years, 3 months ago (2016-09-17 00:02:10 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-17 00:08:35 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-17 00:09:50 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/580779d7bc1eda07b42bd467d60ca6c18765c3db
Cr-Commit-Position: refs/heads/master@{#419335}

Powered by Google App Engine
This is Rietveld 408576698