Index: chrome/browser/gtk/tabs/tab_gtk.h |
=================================================================== |
--- chrome/browser/gtk/tabs/tab_gtk.h (revision 16177) |
+++ chrome/browser/gtk/tabs/tab_gtk.h (working copy) |
@@ -80,9 +80,15 @@ |
// TabRendererGtk overrides: |
virtual bool IsSelected() const; |
+ virtual bool IsVisible() const; |
+ virtual void SetVisible(bool visible) const; |
virtual void CloseButtonResized(const gfx::Rect& bounds); |
virtual void Paint(GdkEventExpose* event); |
+ // The callback that is called for every gdk event. We use it to inspect for |
+ // drag-motion events when the drag is outside of the source tab. |
+ static void GdkEventHandler(GdkEvent* event, void* tab); |
+ |
// button-press-event handler that handles mouse clicks. |
static gboolean OnMousePress(GtkWidget* widget, GdkEventButton* event, |
TabGtk* tab); |
@@ -147,6 +153,9 @@ |
// The windowless widget used to collect input events for the tab. |
OwnedWidgetGtk event_box_; |
+ // True if this tab is being dragged. |
+ bool dragging_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TabGtk); |
}; |