Index: chrome/common/platform_util_linux.cc |
=================================================================== |
--- chrome/common/platform_util_linux.cc (revision 12923) |
+++ chrome/common/platform_util_linux.cc (working copy) |
@@ -4,6 +4,8 @@ |
#include "chrome/common/platform_util.h" |
+#include <gtk/gtk.h> |
+ |
#include "base/file_path.h" |
#include "base/file_util.h" |
#include "base/process_util.h" |
@@ -25,4 +27,8 @@ |
base::LaunchApp(argv, no_files, false, NULL); |
} |
+gfx::NativeWindow GetTopLevel(gfx::NativeView view) { |
+ return GTK_WINDOW(gtk_widget_get_toplevel(view)); |
+} |
+ |
} // namespace platform_util |