| 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 20daa6e06e2fc5537d5283585a070487f5706c5c..15a9e5d9d14cda2aa277ec7fdca8a5d0cce5ca88 100644
|
| --- a/chrome/browser/ui/libgtk2ui/gtk2_util.h
|
| +++ b/chrome/browser/ui/libgtk2ui/gtk2_util.h
|
| @@ -10,6 +10,10 @@
|
|
|
| class SkBitmap;
|
|
|
| +namespace aura {
|
| +class Window;
|
| +}
|
| +
|
| namespace base {
|
| class CommandLine;
|
| class Environment;
|
| @@ -39,6 +43,16 @@ GdkModifierType GetGdkModifierForAccelerator(
|
| // Translates event flags into plaform independent event flags.
|
| int EventFlagsFromGdkState(guint state);
|
|
|
| +// Sets |dialog| as transient for |parent|, which will keep it on top and center
|
| +// it above |parent|.
|
| +void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent);
|
| +
|
| +// Gets the transient parent aura window for |dialog|.
|
| +aura::Window* GetAuraTransientParent(GtkWidget* dialog);
|
| +
|
| +// Clears the transient parent for |dialog|.
|
| +void ClearAuraTransientParent(GtkWidget* dialog);
|
| +
|
| } // namespace libgtk2ui
|
|
|
| #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UTIL_H_
|
|
|