summaryrefslogtreecommitdiffstats
path: root/chrome/common/gtk_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r--chrome/common/gtk_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index e4e7da3..d07393c 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -104,6 +104,12 @@ int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds);
// Returns true if the pointer is currently inside the widget.
bool WidgetContainsCursor(GtkWidget* widget);
+// Packs |widget| into |parent|. If the current UI text direction is
+// RIGHT_TO_LEFT, the widget is packed at the end; otherwise, it is packed at
+// the beginning.
+void BoxPackWidgetWithDirection(GtkBox* parent, GtkWidget* widget,
+ guint expand, guint fill, guint padding);
+
} // namespace gtk_util
#endif // CHROME_COMMON_GTK_UTIL_H_