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

Issue 6873082: Fix DELETE_EVENT handling in 3 places. (Closed)

Created:
9 years, 8 months ago by Evan Stade
Modified:
7 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix DELETE_EVENT handling in 3 places. (Still need to fix a few more after this.) BUG=none TEST=none

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -32 lines) Patch
M chrome/browser/ui/gtk/dialogs_gtk.cc View 1 6 chunks +21 lines, -23 lines 0 comments Download
M chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc View 1 5 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/js_modal_dialog_gtk.cc View 3 chunks +11 lines, -5 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Evan Stade
it has come to my attention that on delete-event, GtkDialogs give the DELETE_EVENT response and ...
9 years, 8 months ago (2011-04-19 19:18:44 UTC) #1
Elliot Glaysher
LGTM http://codereview.chromium.org/6873082/diff/2001/chrome/browser/ui/gtk/js_modal_dialog_gtk.cc File chrome/browser/ui/gtk/js_modal_dialog_gtk.cc (right): http://codereview.chromium.org/6873082/diff/2001/chrome/browser/ui/gtk/js_modal_dialog_gtk.cc#newcode138 chrome/browser/ui/gtk/js_modal_dialog_gtk.cc:138: // NULL out |gtk_dialog_| when it's destroyed. Today ...
9 years, 8 months ago (2011-04-19 19:40:13 UTC) #2
Evan Stade
wait, crap. this doesn't work.
9 years, 8 months ago (2011-04-19 21:51:24 UTC) #3
Elliot Glaysher
To possibly correct my mental model, was it gtk_widget_destroyed not working? On Tue, Apr 19, ...
9 years, 8 months ago (2011-04-20 17:37:50 UTC) #4
Evan Stade
the delete-event triggers RESPONSE_DELETE_EVENT and *then* gtk_widget_destroy, so in our destructor, dialog_ will always still ...
9 years, 8 months ago (2011-04-20 18:38:57 UTC) #5
JKaterski
7 years, 5 months ago (2013-07-24 23:20:12 UTC) #6
JKaterski
7 years, 5 months ago (2013-07-24 23:20:16 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698