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

Unified Diff: chrome/browser/ui/panels/panel_view.h

Issue 10948027: [Panels] Fix browser crash when killing extension on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment added Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/window_open_apitest.cc ('k') | chrome/browser/ui/panels/panel_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_view.h
diff --git a/chrome/browser/ui/panels/panel_view.h b/chrome/browser/ui/panels/panel_view.h
index f1019653a6ea26d0174c5bc89a15cb5a26d11207..ae4f5a76a0bf6d8fe140a0e87d6f6cf17cb2e130 100644
--- a/chrome/browser/ui/panels/panel_view.h
+++ b/chrome/browser/ui/panels/panel_view.h
@@ -150,10 +150,12 @@ class PanelView : public NativePanel,
scoped_ptr<Panel> panel_;
gfx::Rect bounds_;
- // The window that holds all panel views.
+ // The window that holds all panel views. Lifetime managed by native widget.
+ // See widget.h.
views::Widget* window_;
- // The view hosting the web contents.
+ // The view hosting the web contents. Will be destroyed when child views
+ // of this class are destroyed.
views::WebView* web_view_;
// True if the panel should always stay on top of other windows.
« no previous file with comments | « chrome/browser/extensions/window_open_apitest.cc ('k') | chrome/browser/ui/panels/panel_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698