| Index: ui/base/gtk/gtk_screen_util.h
|
| diff --git a/ui/base/gtk/gtk_screen_utils.h b/ui/base/gtk/gtk_screen_util.h
|
| similarity index 72%
|
| rename from ui/base/gtk/gtk_screen_utils.h
|
| rename to ui/base/gtk/gtk_screen_util.h
|
| index 8262eb49661db3aed51d1397815546c9093eb305..8840b34d60e339dafda6db38d813ef738369fe81 100644
|
| --- a/ui/base/gtk/gtk_screen_utils.h
|
| +++ b/ui/base/gtk/gtk_screen_util.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "ui/base/ui_export.h"
|
| #include "ui/gfx/point.h"
|
| +#include "ui/gfx/rect.h"
|
|
|
| namespace ui {
|
|
|
| @@ -21,6 +22,12 @@ UI_EXPORT gfx::Point ScreenPoint(GtkWidget* widget);
|
| // Get the current location of the mouse cursor relative to the widget.
|
| UI_EXPORT gfx::Point ClientPoint(GtkWidget* widget);
|
|
|
| +// Gets the position of a gtk widget in screen coordinates.
|
| +UI_EXPORT gfx::Point GetWidgetScreenPosition(GtkWidget* widget);
|
| +
|
| +// Returns the bounds of the specified widget in screen coordinates.
|
| +UI_EXPORT gfx::Rect GetWidgetScreenBounds(GtkWidget* widget);
|
| +
|
| } // namespace ui
|
|
|
| #endif // UI_BASE_GTK_GTK_SCREEN_UTILS_H_
|
|
|