diff options
Diffstat (limited to 'views/focus/focus_manager_gtk.cc')
-rw-r--r-- | views/focus/focus_manager_gtk.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/focus/focus_manager_gtk.cc b/views/focus/focus_manager_gtk.cc index 3038d93..a52a6d9 100644 --- a/views/focus/focus_manager_gtk.cc +++ b/views/focus/focus_manager_gtk.cc @@ -49,4 +49,10 @@ FocusManager* FocusManager::GetFocusManagerForNativeView( return focus_manager; } +// static +FocusManager* FocusManager::GetFocusManagerForNativeWindow( + gfx::NativeWindow native_window) { + return GetFocusManagerForNativeView(GTK_WIDGET(native_window)); +} + } // namespace views |