summaryrefslogtreecommitdiffstats
path: root/views/widget/root_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/root_view.cc')
-rw-r--r--views/widget/root_view.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc
index a0d19ca..4469051 100644
--- a/views/widget/root_view.cc
+++ b/views/widget/root_view.cc
@@ -510,19 +510,12 @@ void RootView::ProcessMouseDragCanceled() {
void RootView::FocusView(View* view) {
if (view != GetFocusedView()) {
-#if defined(OS_WIN)
FocusManager* focus_manager = GetFocusManager();
DCHECK(focus_manager) << "No Focus Manager for Window " <<
(GetWidget() ? GetWidget()->GetNativeView() : 0);
if (!focus_manager)
return;
-
- View* prev_focused_view = focus_manager->GetFocusedView();
focus_manager->SetFocusedView(view);
-#else
- // TODO(port): Port the focus manager and this goes away.
- NOTIMPLEMENTED();
-#endif
}
}