summaryrefslogtreecommitdiffstats
path: root/components/mus/ws/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/mus/ws/display.h')
-rw-r--r--components/mus/ws/display.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/components/mus/ws/display.h b/components/mus/ws/display.h
index ad1e8e1..b83c11d 100644
--- a/components/mus/ws/display.h
+++ b/components/mus/ws/display.h
@@ -113,10 +113,14 @@ class Display : public PlatformDisplayDelegate,
return window_manager_state_map_.size();
}
+ // TODO(sky): this should only be called by WindowServer, move to interface
+ // used by WindowServer.
void SetFocusedWindow(ServerWindow* window);
+ // NOTE: this returns the focused window only if the focused window is in this
+ // display. If this returns null focus may be in another display.
ServerWindow* GetFocusedWindow();
- void DestroyFocusController();
- FocusController* focus_controller() { return focus_controller_.get(); }
+
+ void ActivateNextWindow();
void AddActivationParent(ServerWindow* window);
void RemoveActivationParent(ServerWindow* window);