summaryrefslogtreecommitdiffstats
path: root/chrome/common/x11_util.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 22:31:45 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 22:31:45 +0000
commitfda8974e0a1daa704be0dc33fe04ae4564310c12 (patch)
tree73e04108913d6c346aa8c866a73a94a60e1b84d3 /chrome/common/x11_util.h
parent804a44b4f3d42d486850e35ac1070acee5abf754 (diff)
downloadchromium_src-fda8974e0a1daa704be0dc33fe04ae4564310c12.zip
chromium_src-fda8974e0a1daa704be0dc33fe04ae4564310c12.tar.gz
chromium_src-fda8974e0a1daa704be0dc33fe04ae4564310c12.tar.bz2
Use the convenience function gdk_screen_get_window_stack to enumerate top-level gdk windows instead of querying Xlib directly, which doesn't work across many window managers.
BUG=none TEST=Exhaustive tab dragging in multiple window managers (Compiz, Metacity, KWM). Review URL: http://codereview.chromium.org/119345 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/x11_util.h')
-rw-r--r--chrome/common/x11_util.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h
index d177800..012b020 100644
--- a/chrome/common/x11_util.h
+++ b/chrome/common/x11_util.h
@@ -60,18 +60,6 @@ bool IsWindowVisible(XID window);
// Returns the bounds of |window|.
bool GetWindowRect(XID window, gfx::Rect* rect);
-// Implementers of this interface receive a notification for every X window of
-// the main display.
-class EnumerateWindowsDelegate {
- public:
- // |xid| is the X Window ID of the enumerated window. Return true to stop
- // further iteration.
- virtual bool ShouldStopIterating(XID xid) = 0;
-};
-
-// Enumerates the child windows of |root|.
-bool EnumerateChildWindows(XID root, EnumerateWindowsDelegate* delegate);
-
// Return a handle to a server side pixmap. |shared_memory_key| is a SysV
// IPC key. The shared memory region must contain 32-bit pixels.
XID AttachSharedMemory(Display* display, int shared_memory_support);