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

Issue 10969016: web intents. Fix callbacks to restore tab management on service exit. (Closed)

Created:
8 years, 3 months ago by Greg Billock
Modified:
8 years, 3 months ago
CC:
chromium-reviews, groby+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, gbillock+watch_chromium.org, smckay+watch_chromium.org, rouslan+watch_chromium.org
Visibility:
Public.

Description

web intents. Fix callbacks to restore tab management on service exit. Use a different weak pointer factory for the intent dispatcher so it doesn't get cancelled when the picker dialog is hidden. R=rouslan@chromium.org BUG=148859 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158177

Patch Set 1 #

Patch Set 2 : Remove log lines #

Patch Set 3 : Fix comment #

Total comments: 6

Patch Set 4 : Improve comments #

Total comments: 4

Patch Set 5 : Move invalidation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M chrome/browser/ui/intents/web_intent_picker_controller.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Greg Billock
8 years, 3 months ago (2012-09-20 16:18:25 UTC) #1
please use gerrit instead
https://codereview.chromium.org/10969016/diff/4001/chrome/browser/ui/intents/web_intent_picker_controller.cc File chrome/browser/ui/intents/web_intent_picker_controller.cc (right): https://codereview.chromium.org/10969016/diff/4001/chrome/browser/ui/intents/web_intent_picker_controller.cc#newcode224 chrome/browser/ui/intents/web_intent_picker_controller.cc:224: dispatcher_factory_.InvalidateWeakPtrs(); When you say "not a well-handled case", do ...
8 years, 3 months ago (2012-09-20 16:38:30 UTC) #2
Greg Billock
https://codereview.chromium.org/10969016/diff/4001/chrome/browser/ui/intents/web_intent_picker_controller.cc File chrome/browser/ui/intents/web_intent_picker_controller.cc (right): https://codereview.chromium.org/10969016/diff/4001/chrome/browser/ui/intents/web_intent_picker_controller.cc#newcode224 chrome/browser/ui/intents/web_intent_picker_controller.cc:224: dispatcher_factory_.InvalidateWeakPtrs(); The right solution is a "ChromeIntentsDispatcher" that has ...
8 years, 3 months ago (2012-09-20 16:45:18 UTC) #3
please use gerrit instead
lgtm
8 years, 3 months ago (2012-09-20 16:55:51 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 3 months ago (2012-09-20 16:59:02 UTC) #5
Greg Billock
On 2012/09/20 16:59:02, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
8 years, 3 months ago (2012-09-20 21:02:09 UTC) #6
groby-ooo-7-16
Not happy with the solution, but can't think of a better one. LGTM unless you ...
8 years, 3 months ago (2012-09-21 02:25:21 UTC) #7
Greg Billock
http://codereview.chromium.org/10969016/diff/5003/chrome/browser/ui/intents/web_intent_picker_controller.cc File chrome/browser/ui/intents/web_intent_picker_controller.cc (right): http://codereview.chromium.org/10969016/diff/5003/chrome/browser/ui/intents/web_intent_picker_controller.cc#newcode224 chrome/browser/ui/intents/web_intent_picker_controller.cc:224: dispatcher_factory_.InvalidateWeakPtrs(); Good point. I'll do it. On 2012/09/21 02:25:21, ...
8 years, 3 months ago (2012-09-21 05:10:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/10969016/8002
8 years, 3 months ago (2012-09-21 16:15:17 UTC) #9
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 3 months ago (2012-09-22 01:00:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/10969016/8002
8 years, 3 months ago (2012-09-22 04:44:16 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-09-22 06:21:00 UTC) #12
Change committed as 158177

Powered by Google App Engine
This is Rietveld 408576698