| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| index 1b28d03368c572ba6af08ecc290e64dcb11d795e..094d19762ff28b881fae2586ec805b96b7d80b51 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
| @@ -26,6 +26,10 @@ class ImageSkia;
|
| class ImageSkiaRep;
|
| }
|
|
|
| +namespace ui {
|
| +class EventHandler;
|
| +}
|
| +
|
| namespace views {
|
| class DesktopDragDropClientAuraX11;
|
| class DesktopDispatcherClient;
|
| @@ -74,6 +78,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
|
| void AddObserver(views::DesktopWindowTreeHostObserverX11* observer);
|
| void RemoveObserver(views::DesktopWindowTreeHostObserverX11* observer);
|
|
|
| + // 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();
|
|
|
| @@ -274,7 +281,7 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
|
| // Current Aura cursor.
|
| gfx::NativeCursor current_cursor_;
|
|
|
| - scoped_ptr<X11WindowEventFilter> x11_window_event_filter_;
|
| + scoped_ptr<ui::EventHandler> x11_non_client_event_filter_;
|
| scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_;
|
|
|
| // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura
|
|
|