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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 320713004: Update panel layout immediately after the user has finished resizing a panel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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 | « ui/base/x/x11_util.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/base/x/x11_util.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698