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

Unified Diff: chrome/browser/dock_info_gtk.cc

Issue 141061: Revert to enumerating all X windows if the Window Manager doesn't support _NE... (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
« no previous file with comments | « no previous file | chrome/common/gtk_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dock_info_gtk.cc
===================================================================
--- chrome/browser/dock_info_gtk.cc (revision 18927)
+++ chrome/browser/dock_info_gtk.cc (working copy)
@@ -19,7 +19,7 @@
//
// Base class used to locate a window. A subclass need only override
// ShouldStopIterating to determine when iteration should stop.
-class BaseWindowFinder : public gtk_util::EnumerateWindowsDelegate {
+class BaseWindowFinder : public x11_util::EnumerateWindowsDelegate {
public:
explicit BaseWindowFinder(const std::set<GtkWidget*>& ignore) {
std::set<GtkWidget*>::iterator iter;
@@ -100,7 +100,7 @@
target_(window),
screen_loc_(screen_loc),
is_top_most_(false) {
- gtk_util::EnumerateChildWindows(this);
+ gtk_util::EnumerateTopLevelWindows(this);
}
// The window we're looking for.
@@ -163,7 +163,7 @@
: BaseWindowFinder(ignore),
screen_loc_(screen_loc),
result_(0) {
- gtk_util::EnumerateChildWindows(this);
+ gtk_util::EnumerateTopLevelWindows(this);
}
// Position of the mouse.
« no previous file with comments | « no previous file | chrome/common/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698