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

Issue 6380005: Implement RenderWidgetHostViewViews::Destroy. See RWHVGtk for reference. (Closed)

Created:
9 years, 11 months ago by Alex Nicolaou
Modified:
9 years ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Implement RenderWidgetHostViewViews::Destroy. See RWHVGtk for reference. TEST=manually, trybots BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71968

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix destruction to work as in gtk. #

Total comments: 1

Patch Set 3 : Removed unnecessary and impossible call from the destructor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_views.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Alex Nicolaou
There's really nothing to do here yet as this code path has no equivalent of ...
9 years, 11 months ago (2011-01-19 16:41:20 UTC) #1
bryeung
http://codereview.chromium.org/6380005/diff/1/chrome/browser/renderer_host/render_widget_host_view_views.cc File chrome/browser/renderer_host/render_widget_host_view_views.cc (right): http://codereview.chromium.org/6380005/diff/1/chrome/browser/renderer_host/render_widget_host_view_views.cc#newcode297 chrome/browser/renderer_host/render_widget_host_view_views.cc:297: host_ = NULL; You don't need the DeleteSoon call ...
9 years, 11 months ago (2011-01-19 18:13:57 UTC) #2
Alex Nicolaou
No, views get deleted somewhere else though for the life of me I can't remember ...
9 years, 11 months ago (2011-01-19 18:27:47 UTC) #3
sky
I'm not sure there either. The windows side does a DeleteWindow, which deletes the RWHV. ...
9 years, 11 months ago (2011-01-19 19:23:19 UTC) #4
Alex Nicolaou
In View::~View it loops through all the child views and destroys them, so the rwhvv ...
9 years, 11 months ago (2011-01-19 19:52:43 UTC) #5
Alex Nicolaou
I looked a little more and in the case of transitioning away from the NTP ...
9 years, 11 months ago (2011-01-19 20:00:43 UTC) #6
Alex Nicolaou
@sky PTAL @gspencer Your patch to send a message is potentially sending it to a ...
9 years, 11 months ago (2011-01-19 20:30:18 UTC) #7
sky
LGTM
9 years, 11 months ago (2011-01-19 21:14:31 UTC) #8
Greg Spencer (Chromium)
http://codereview.chromium.org/6380005/diff/9001/chrome/browser/renderer_host/render_widget_host_view_views.cc File chrome/browser/renderer_host/render_widget_host_view_views.cc (right): http://codereview.chromium.org/6380005/diff/9001/chrome/browser/renderer_host/render_widget_host_view_views.cc#newcode134 chrome/browser/renderer_host/render_widget_host_view_views.cc:134: RenderViewGone(base::TERMINATION_STATUS_NORMAL_TERMINATION, Hmm. I can see what you mean, and ...
9 years, 11 months ago (2011-01-19 21:59:37 UTC) #9
Alex Nicolaou
Wow I have no recollection of that patch. But yes I think calling this in ...
9 years, 11 months ago (2011-01-19 22:18:57 UTC) #10
Alex Nicolaou
[+sadrul] OK, I figured out why I don't recall the patch - I reviewed and ...
9 years, 11 months ago (2011-01-20 08:13:42 UTC) #11
Alex Nicolaou
I wound up removing the call in the destructor. In the way the code currently ...
9 years, 11 months ago (2011-01-20 09:20:47 UTC) #12
sky
9 years, 11 months ago (2011-01-20 17:53:12 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698