Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8628)

Unified Diff: chrome/common/x11_util.h

Issue 119345: Use the convenience function gdk_screen_get_window_stack to enumerate top-lev... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/x11_util.h
===================================================================
--- chrome/common/x11_util.h (revision 17916)
+++ chrome/common/x11_util.h (working copy)
@@ -60,18 +60,6 @@
// 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);
« no previous file with comments | « chrome/common/gtk_util.cc ('k') | chrome/common/x11_util.cc » ('j') | chrome/common/x11_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698