summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_gtk.h
diff options
context:
space:
mode:
authorglotov@google.com <glotov@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 12:12:14 +0000
committerglotov@google.com <glotov@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 12:12:14 +0000
commit0a7412cbe376c30107528c2df1d1af87661ff29a (patch)
treec746d0852c9b370c2ad51cfea810ee4838fc8fe7 /views/widget/widget_gtk.h
parent508006b0c962c36f0699c8497593054a4ea77205 (diff)
downloadchromium_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.h4
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();