Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5457)

Unified Diff: chrome/common/gtk_util.h

Issue 113919: Adds gtk_util::ParentWindow to find the parent window of a GtkWidget.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/gtk_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gtk_util.h
===================================================================
--- chrome/common/gtk_util.h (revision 17002)
+++ chrome/common/gtk_util.h (working copy)
@@ -44,6 +44,10 @@
// Initialize some GTK settings so that our dialogs are consistent.
void InitRCStyles();
+// Returns the first ancestor of |widget|, starting a |widget| that is a window.
agl 2009/05/27 20:30:07 This comment doesn't parse for me, maybe a word is
+// If |widget| does not a window ancestor, NULL is returned.
+GtkWindow* ParentWindow(GtkWidget* widget);
+
} // namespace gtk_util
#endif // CHROME_COMMON_GTK_UTIL_H_
« no previous file with comments | « no previous file | chrome/common/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698