Index: ui/base/x/x11_util.h |
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
index 3284fcb328995967895b1129536579bb40fcc85d..e323d8be572696fc9a792cf57df7c6f429d99315 100644 |
--- a/ui/base/x/x11_util.h |
+++ b/ui/base/x/x11_util.h |
@@ -20,7 +20,6 @@ |
typedef unsigned long Atom; |
typedef struct _GdkDrawable GdkWindow; |
typedef struct _GtkWidget GtkWidget; |
-typedef struct _GtkWindow GtkWindow; |
typedef unsigned long XID; |
typedef unsigned long XSharedMemoryId; // ShmSeg in the X headers. |
typedef struct _XDisplay Display; |
@@ -171,11 +170,6 @@ bool GetWindowParent(XID* parent_window, bool* parent_is_root, XID window); |
// Get the window manager name. |
bool GetWindowManagerName(std::string* name); |
-// Grabs a snapshot of the designated window and stores a PNG representation |
-// into a byte vector. |
-void GrabWindowSnapshot(GtkWindow* gdk_window, |
- std::vector<unsigned char>* png_representation); |
- |
// Change desktop for |window| to the desktop of |destination| window. |
bool ChangeWindowDesktop(XID window, XID destination); |