Index: chrome/browser/gtk/gtk_util.h |
diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h |
index 20d3c6af244931ad0e434654e2ce0271789a90c4..95200d434077e50501f83b4a1c84cc2664437782 100644 |
--- a/chrome/browser/gtk/gtk_util.h |
+++ b/chrome/browser/gtk/gtk_util.h |
@@ -315,6 +315,10 @@ gfx::Rect GetDialogBounds(GtkWidget* dialog); |
// empty string if no stock item found. |
string16 GetStockPreferencesMenuLabel(); |
+// Checks whether a widget is actually visible, i.e. whether it and all its |
+// ancestors up to its toplevel are visible. |
+bool IsWidgetAncestryVisible(GtkWidget* widget); |
+ |
} // namespace gtk_util |
#endif // CHROME_BROWSER_GTK_GTK_UTIL_H_ |