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

Issue 11141037: Disable delegation to picker controller once it is deleted. (Closed)

Created:
8 years, 2 months ago by groby-ooo-7-16
Modified:
8 years, 2 months ago
CC:
chromium-reviews, gbillock+watch_chromium.org, smckay+watch_chromium.org, groby+watch_chromium.org, rouslan+watch_chromium.org, tfarina
Visibility:
Public.

Description

Disable delegation to picker controller once it is deleted. BUG=155529 R=gbillock@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162875

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added delegate invalidation for Gtk. #

Patch Set 3 : OSX delegate invalidation. #

Total comments: 2

Patch Set 4 : DCHECK on accessor. #

Total comments: 1

Patch Set 5 : Rebase to HEAD #

Patch Set 6 : rebase, fix tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -11 lines) Patch
M chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/web_intent_picker_cocoa.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm View 1 2 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/web_intent_picker_gtk.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/gtk/web_intent_picker_gtk.cc View 1 2 3 4 5 6 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_inline_disposition_delegate_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/intents/web_intent_picker.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller_browsertest.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/web_intent_picker_views.cc View 1 2 3 4 7 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
groby-ooo-7-16
8 years, 2 months ago (2012-10-15 21:43:52 UTC) #1
Greg Billock
lgtm https://codereview.chromium.org/11141037/diff/1/chrome/browser/ui/views/web_intent_picker_views.cc File chrome/browser/ui/views/web_intent_picker_views.cc (right): https://codereview.chromium.org/11141037/diff/1/chrome/browser/ui/views/web_intent_picker_views.cc#newcode378 chrome/browser/ui/views/web_intent_picker_views.cc:378: // DCHECK_LE(size.width(), WebIntentPicker::kTitleLinkMaxWidth); erase this line?
8 years, 2 months ago (2012-10-15 22:29:33 UTC) #2
groby-ooo-7-16
Hi guys! Could you please check: sail: cocoa OWNERS, plus double-check for CocoaPicker2 delegate handling ...
8 years, 2 months ago (2012-10-16 01:13:10 UTC) #3
sail
http://codereview.chromium.org/11141037/diff/6001/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm File chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm (right): http://codereview.chromium.org/11141037/diff/6001/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm#newcode88 chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm:88: delegate_ = NULL; This also requires updating web_intent_inline_service_view_controller.mm, and ...
8 years, 2 months ago (2012-10-16 01:25:23 UTC) #4
groby-ooo-7-16
http://codereview.chromium.org/11141037/diff/6001/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm File chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm (right): http://codereview.chromium.org/11141037/diff/6001/chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm#newcode88 chrome/browser/ui/cocoa/intents/web_intent_picker_cocoa2.mm:88: delegate_ = NULL; Actually, InvalidateDelegate should only be called ...
8 years, 2 months ago (2012-10-16 01:47:44 UTC) #5
sail
LGTM I think there are some cases where we check try to access the delegate ...
8 years, 2 months ago (2012-10-16 01:52:41 UTC) #6
Evan Stade
gtk lgtm
8 years, 2 months ago (2012-10-16 03:04:41 UTC) #7
sky
LGTM
8 years, 2 months ago (2012-10-16 16:03:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/11141037/8002
8 years, 2 months ago (2012-10-16 19:38:26 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-16 20:14:18 UTC) #10
please use gerrit instead
On 2012/10/16 20:14:18, I haz the power (commit-bot) wrote: > Your code is likely broken ...
8 years, 2 months ago (2012-10-16 20:17:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/11141037/18004
8 years, 2 months ago (2012-10-18 19:21:21 UTC) #12
commit-bot: I haz the power
Retried try job too often for step(s) compile
8 years, 2 months ago (2012-10-18 20:02:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/11141037/14009
8 years, 2 months ago (2012-10-18 22:33:46 UTC) #14
commit-bot: I haz the power
8 years, 2 months ago (2012-10-19 00:53:25 UTC) #15
Change committed as 162875

Powered by Google App Engine
This is Rietveld 408576698