Index: chrome/browser/gtk/status_bubble_gtk.h |
diff --git a/chrome/browser/gtk/status_bubble_gtk.h b/chrome/browser/gtk/status_bubble_gtk.h |
index 82253d44ea1af9be47349fd32f073c3b17629c89..509b63d4ab2f84528a0cc584f9d1034eda6c940e 100644 |
--- a/chrome/browser/gtk/status_bubble_gtk.h |
+++ b/chrome/browser/gtk/status_bubble_gtk.h |
@@ -105,6 +105,9 @@ class StatusBubbleGtk : public StatusBubble, |
CHROMEGTK_CALLBACK_1(StatusBubbleGtk, gboolean, HandleMotionNotify, |
GdkEventMotion*); |
+ CHROMEGTK_CALLBACK_1(StatusBubbleGtk, gboolean, HandleEnterNotify, |
+ GdkEventCrossing*); |
+ |
NotificationRegistrar registrar_; |
// Provides colors. |
@@ -161,6 +164,10 @@ class StatusBubbleGtk : public StatusBubble, |
// when its text changes, triggering a size change. |
gfx::Point last_mouse_location_; |
bool last_mouse_left_content_; |
+ |
+ // Shortly after the cursor enters the status bubble, we'll get a message |
+ // that the cursor left the content area. This lets us ignore that. |
+ bool ignore_next_left_content_; |
}; |
#endif // CHROME_BROWSER_GTK_STATUS_BUBBLE_GTK_H_ |