summaryrefslogtreecommitdiffstats
path: root/views/focus/focus_manager_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/focus/focus_manager_win.cc')
-rw-r--r--views/focus/focus_manager_win.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/focus/focus_manager_win.cc b/views/focus/focus_manager_win.cc
index fbccf7b..faf3815 100644
--- a/views/focus/focus_manager_win.cc
+++ b/views/focus/focus_manager_win.cc
@@ -27,5 +27,10 @@ FocusManager* FocusManager::GetFocusManagerForNativeView(
return widget ? widget->GetFocusManager() : NULL;
}
-} // namespace views
+// static
+FocusManager* FocusManager::GetFocusManagerForNativeWindow(
+ gfx::NativeWindow native_window) {
+ return GetFocusManagerForNativeView(native_window);
+}
+} // namespace views