diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 20:03:59 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 20:03:59 +0000 |
commit | d3b2e75994860048bf89ccbfc55c5b9c8d53532d (patch) | |
tree | f1eda3b396843bfa5af85c72150a6ee1f5df67b6 /chrome/browser/gtk/tabs/tab_strip_gtk.h | |
parent | c6321d8e201af8f7b91cd0b134d4ad32844f66c1 (diff) | |
download | chromium_src-d3b2e75994860048bf89ccbfc55c5b9c8d53532d.zip chromium_src-d3b2e75994860048bf89ccbfc55c5b9c8d53532d.tar.gz chromium_src-d3b2e75994860048bf89ccbfc55c5b9c8d53532d.tar.bz2 |
Fix a few crashes when trying to drag a closing tab.
Review URL: http://codereview.chromium.org/99065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/tabs/tab_strip_gtk.h')
-rw-r--r-- | chrome/browser/gtk/tabs/tab_strip_gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.h b/chrome/browser/gtk/tabs/tab_strip_gtk.h index 56e74d7..325c2f4 100644 --- a/chrome/browser/gtk/tabs/tab_strip_gtk.h +++ b/chrome/browser/gtk/tabs/tab_strip_gtk.h @@ -134,6 +134,10 @@ class TabStripGtk : public TabStripModelObserver, guint x, guint y, guint time, TabStripGtk* tabstrip); + // drag-failed handler that is emitted when the drag fails. + static gboolean OnDragFailed(GtkWidget* widget, GdkDragContext* context, + GtkDragResult result, TabStripGtk* tabstrip); + // Finds the tab that is under |point| by iterating through all of the tabs // and checking if |point| is in their bounds. This method is only used when // the state of all the tabs cannot be calculated, as during a SnapTab |