| Index: components/mus/ws/focus_controller.h
|
| diff --git a/components/mus/ws/focus_controller.h b/components/mus/ws/focus_controller.h
|
| index 113a1cba62cc29d61cedb38bb45e40a8871f4e1f..1dea308aa01f2a577da5454aacab87a08e8c6679 100644
|
| --- a/components/mus/ws/focus_controller.h
|
| +++ b/components/mus/ws/focus_controller.h
|
| @@ -35,8 +35,9 @@ class FocusController : public ServerWindowDrawnTrackerObserver {
|
| ~FocusController() override;
|
|
|
| // Sets the focused window. Does nothing if |window| is currently focused.
|
| - // This does not notify the delegate.
|
| - void SetFocusedWindow(ServerWindow* window);
|
| + // This does not notify the delegate. See ServerWindow::SetFocusedWindow()
|
| + // for details on return value.
|
| + bool SetFocusedWindow(ServerWindow* window);
|
| ServerWindow* GetFocusedWindow();
|
|
|
| // Moves activation to the next activatable window.
|
| @@ -63,7 +64,7 @@ class FocusController : public ServerWindowDrawnTrackerObserver {
|
| ServerWindow* GetActivatableAncestorOf(ServerWindow* window) const;
|
|
|
| // Implementation of SetFocusedWindow().
|
| - void SetFocusedWindowImpl(FocusControllerChangeSource change_source,
|
| + bool SetFocusedWindowImpl(FocusControllerChangeSource change_source,
|
| ServerWindow* window);
|
|
|
| // ServerWindowDrawnTrackerObserver:
|
|
|