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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_util.h

Issue 1624793002: Make File-Picker modal on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [WIP] use of scoped_ptr<ScopedHandle> Created 4 years, 10 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
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_
« no previous file with comments | « no previous file | chrome/browser/ui/libgtk2ui/gtk2_util.cc » ('j') | chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698