diff options
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r-- | chrome/common/gtk_util.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h index 1caf748..40cab80 100644 --- a/chrome/common/gtk_util.h +++ b/chrome/common/gtk_util.h @@ -59,7 +59,7 @@ const int kFormControlSpacing = 10; // be NULL to get the system default. // // For example: -// controls = CreateLabeledControlsGroup(NULL, &gfx::kGdkBlack, +// controls = CreateLabeledControlsGroup(NULL, // "Name:", title_entry_, // "Folder:", folder_combobox_, // NULL); @@ -106,6 +106,14 @@ void SetWindowSizeFromResources(GtkWindow* window, // transient_for. void CenterOverWindow(GtkWindow* window, GtkWindow* parent); +// Puts all browser windows in one window group; this will make any dialog +// spawned app modal. +void MakeAppModalWindowGroup(); + +// Called after an app modal dialog that used MakeAppModalWindowGroup() was +// dismissed. Returns each browser window to its own window group. +void AppModalDismissedUngroupWindows(); + // Remove all children from this container. void RemoveAllChildren(GtkWidget* container); |