diff options
Diffstat (limited to 'views/focus/focus_manager.h')
-rw-r--r-- | views/focus/focus_manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/focus/focus_manager.h b/views/focus/focus_manager.h index bad9dba..2150560 100644 --- a/views/focus/focus_manager.h +++ b/views/focus/focus_manager.h @@ -278,6 +278,10 @@ class FocusManager { static FocusManager* GetFocusManagerForNativeView( gfx::NativeView native_view); + // Retrieves the FocusManager associated with the passed native view. + static FocusManager* GetFocusManagerForNativeWindow( + gfx::NativeWindow native_window); + private: // Returns the next focusable view. View* GetNextFocusableView(View* starting_view, bool reverse, bool dont_loop); |