summaryrefslogtreecommitdiff
path: root/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h')
-rw-r--r--chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 94d4b1ba2f2..59591bd9bfc 100644
--- a/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -83,8 +83,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
// Swaps the current handler for events in the non client view with |handler|.
void SwapNonClientEventHandler(scoped_ptr<ui::EventHandler> handler);
- // Deallocates the internal list of open windows.
- static void CleanUpWindowList();
+ // Runs the |func| callback for each content-window, and deallocates the
+ // internal list of open windows.
+ static void CleanUpWindowList(void (*func)(aura::Window* window));
protected:
// Overridden from DesktopWindowTreeHost: