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

Unified Diff: ui/aura/window_tree_host_observer.h

Issue 1927203003: Add support for X11 workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted ui/views/widget/desktop_aura/x11_desktop_handler.cc Created 4 years, 8 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: ui/aura/window_tree_host_observer.h
diff --git a/ui/aura/window_tree_host_observer.h b/ui/aura/window_tree_host_observer.h
index d96e9d3b24dc1230deb2ab5920787bcbff2db98f..257bd553504927686f33a1cdf9c8428b00e37fb7 100644
--- a/ui/aura/window_tree_host_observer.h
+++ b/ui/aura/window_tree_host_observer.h
@@ -24,6 +24,10 @@ class AURA_EXPORT WindowTreeHostObserver {
virtual void OnHostMoved(const WindowTreeHost* host,
const gfx::Point& new_origin) {}
+ // Called when the host is moved on screen.
+ virtual void OnHostWorkspaceChanged(const WindowTreeHost* host,
+ int workspace_id) {}
+
// Called when the native window system sends the host request to close.
virtual void OnHostCloseRequested(const WindowTreeHost* host) {}

Powered by Google App Engine
This is Rietveld 408576698