Index: ui/base/x/x11_util.h |
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
index d87635f94e2c138385392a86fa9fae4127ba617f..0f7c12ef8c40a431bc4501725557f518f269c252 100644 |
--- a/ui/base/x/x11_util.h |
+++ b/ui/base/x/x11_util.h |
@@ -29,12 +29,6 @@ typedef unsigned long Cursor; |
typedef struct _XcursorImage XcursorImage; |
typedef union _XEvent XEvent; |
-#if defined(TOOLKIT_GTK) |
-typedef struct _GdkDrawable GdkWindow; |
-typedef struct _GtkWidget GtkWidget; |
-typedef struct _GtkWindow GtkWindow; |
-#endif |
- |
namespace gfx { |
class Canvas; |
class Point; |
@@ -119,21 +113,6 @@ UI_BASE_EXPORT XID GetX11RootWindow(); |
// Returns the user's current desktop. |
bool GetCurrentDesktop(int* desktop); |
-#if defined(TOOLKIT_GTK) |
-// Get the X window id for the given GTK widget. |
-UI_BASE_EXPORT XID GetX11WindowFromGtkWidget(GtkWidget* widget); |
-XID GetX11WindowFromGdkWindow(GdkWindow* window); |
- |
-// Get the GtkWindow* wrapping a given XID, if any. |
-// Returns NULL if there isn't already a GtkWindow* wrapping this XID; |
-// see gdk_window_foreign_new() etc. to wrap arbitrary XIDs. |
-UI_BASE_EXPORT GtkWindow* GetGtkWindowFromX11Window(XID xid); |
- |
-// Get a Visual from the given widget. Since we don't include the Xlib |
-// headers, this is returned as a void*. |
-UI_BASE_EXPORT void* GetVisualFromGtkWidget(GtkWidget* widget); |
-#endif // defined(TOOLKIT_GTK) |
- |
enum HideTitlebarWhenMaximized { |
SHOW_TITLEBAR_WHEN_MAXIMIZED = 0, |
HIDE_TITLEBAR_WHEN_MAXIMIZED = 1, |