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 fa262f135281453397ae8b57f238f3df113a055e..074d777643ec9257ce76bd76114fbb12d488a257 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 |
@@ -185,6 +185,10 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 |
// Called when |xwindow_|'s _NET_FRAME_EXTENTS property is updated. |
void OnFrameExtentsUpdated(); |
+ // Makes a round trip to the X server to get the enclosing workspace for this |
+ // window. Returns true iff |workspace_| was changed. |
+ bool UpdateWorkspace(); |
+ |
// Updates |xwindow_|'s minimum and maximum size. |
void UpdateMinAndMaxSize(); |
@@ -284,6 +288,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 |
// |xwindow_|'s maximum size. |
gfx::Size max_size_in_pixels_; |
+ // The workspace containing |xwindow_|. |
+ std::string workspace_; |
+ |
// The window manager state bits. |
std::set< ::Atom> window_properties_; |