diff options
author | glotov@google.com <glotov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 12:12:14 +0000 |
---|---|---|
committer | glotov@google.com <glotov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 12:12:14 +0000 |
commit | 0a7412cbe376c30107528c2df1d1af87661ff29a (patch) | |
tree | c746d0852c9b370c2ad51cfea810ee4838fc8fe7 /views/widget/widget_gtk.h | |
parent | 508006b0c962c36f0699c8497593054a4ea77205 (diff) | |
download | chromium_src-0a7412cbe376c30107528c2df1d1af87661ff29a.zip chromium_src-0a7412cbe376c30107528c2df1d1af87661ff29a.tar.gz chromium_src-0a7412cbe376c30107528c2df1d1af87661ff29a.tar.bz2 |
Removing DeleteSoon() from WigetGtk so it behaves like WidgetWin
BUG=chromium-os:15129
TEST=tests
Review URL: http://codereview.chromium.org/7002029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r-- | views/widget/widget_gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index eaa29cd..d60a82f 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -253,6 +253,10 @@ class WidgetGtk : public Widget, CHROMEGTK_CALLBACK_0(WidgetGtk, void, OnMap); CHROMEGTK_CALLBACK_0(WidgetGtk, void, OnHide); + // Invoked when the widget is destroyed and right before the object + // destruction. Useful for overriding. + virtual void OnDestroyed() { } + // Invoked when gtk grab is stolen by other GtkWidget in the same // application. virtual void HandleGtkGrabBroke(); |