Index: chrome/browser/ui/libgtk2ui/gtk2_util.h |
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_util.h b/chrome/browser/ui/libgtk2ui/gtk2_util.h |
index 92d06d16f2bc90d8a9487e5d4b5996fc2c4d9bd7..bb76e44e83712e8a625465cc6c3cec7e72054595 100644 |
--- a/chrome/browser/ui/libgtk2ui/gtk2_util.h |
+++ b/chrome/browser/ui/libgtk2ui/gtk2_util.h |
@@ -25,6 +25,10 @@ namespace ui { |
class Accelerator; |
} |
+namespace views{ |
+class DesktopWindowTreeHostX11; |
+} |
+ |
namespace libgtk2ui { |
void GtkInitFromCommandLine(const base::CommandLine& command_line); |
@@ -53,6 +57,18 @@ aura::Window* GetAuraTransientParent(GtkWidget* dialog); |
// Clears the transient parent for |dialog|. |
void ClearAuraTransientParent(GtkWidget* dialog); |
+// Sets the |host| as a property of |dialog|. |
+void SetDesktopWindowTreeHost(GtkWidget* dialog, |
+ views::DesktopWindowTreeHostX11* host); |
+ |
+// Sets the |host| as a property of |dialog|. |
+void SetDesktopWindowTreeHost(GtkWidget* dialog, |
+ views::DesktopWindowTreeHostX11* host); |
+ |
+// Gets the DesktopWindowTreeHostX11 for |dialog|. |
+views::DesktopWindowTreeHostX11* GetDesktopWindowTreeHost(GtkWidget* dialog); |
+ |
+ |
} // namespace libgtk2ui |
#endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_ |