Chromium Code Reviews| Index: ash/wm/window_util.h |
| diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h |
| index 7def41561f269eaf5b24986418da9785d9852013..380cc90d1cb4a31ea3cfaeef4b616fab10cc2933 100644 |
| --- a/ash/wm/window_util.h |
| +++ b/ash/wm/window_util.h |
| @@ -29,6 +29,7 @@ ASH_EXPORT void DeactivateWindow(aura::Window* window); |
| ASH_EXPORT bool IsActiveWindow(aura::Window* window); |
| ASH_EXPORT aura::Window* GetActiveWindow(); |
| ASH_EXPORT bool CanActivateWindow(aura::Window* window); |
| +ASH_EXPORT aura::Window* GetFocusedWindow(); |
| // Retrieves the activatable window for |window|. If |window| is activatable, |
| // this will just return it, otherwise it will climb the parent/transient parent |
| @@ -37,6 +38,8 @@ ASH_EXPORT bool CanActivateWindow(aura::Window* window); |
| // this is probably what you're looking for. |
| ASH_EXPORT aura::Window* GetActivatableWindow(aura::Window* window); |
| +ASH_EXPORT aura::Window* GetCaptureWindow(); |
|
James Cook
2017/03/31 19:29:52
nit: Can you write a comment for this?
sky
2017/03/31 20:15:14
I kind of figured it was obvious (similar to lack
|
| + |
| // Returns true if |window|'s location can be controlled by the user. |
| ASH_EXPORT bool IsWindowUserPositionable(aura::Window* window); |