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

Issue 42372: Consolidate into a single shutdown path. (Closed)

Created:
11 years, 9 months ago by tony
Modified:
9 years, 7 months ago
Reviewers:
Dean McNamee
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Consolidate into a single shutdown path. This consolidates the shutdown path. We used to have two paths depending of whether the user hit the X on the window manager or used wrench -> exit. Now both do the same thing: call BrowserWindowGtk::Close().

Patch Set 1 #

Patch Set 2 : comment #

Patch Set 3 : comment #

Total comments: 1

Patch Set 4 : destroy #

Patch Set 5 : remove trailing whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -29 lines) Patch
M chrome/browser/gtk/browser_window_gtk.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 1 2 3 4 6 chunks +32 lines, -26 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tony
11 years, 9 months ago (2009-03-18 22:55:37 UTC) #1
Dean McNamee
It's nice to have a single path, but right now I don't see how it ...
11 years, 9 months ago (2009-03-19 10:15:29 UTC) #2
tony
I think this is more like how windows works. delete-event is more like WM_CLOSE, which ...
11 years, 9 months ago (2009-03-19 17:30:55 UTC) #3
Dean McNamee
On 2009/03/19 17:30:55, tony wrote: > I think this is more like how windows works. ...
11 years, 9 months ago (2009-03-19 17:34:15 UTC) #4
tony
I think I understand what you're saying now. I re-added the destroy handler which deletes ...
11 years, 9 months ago (2009-03-19 18:22:08 UTC) #5
Dean McNamee
11 years, 9 months ago (2009-03-20 17:33:21 UTC) #6
I don't see the harm in not setting window_ to NULL like we did before, but it's
ok.  LG.

Powered by Google App Engine
This is Rietveld 408576698