diff options
-rw-r--r-- | views/view_gtk.cc | 5 | ||||
-rw-r--r-- | views/widget/root_view.cc | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/views/view_gtk.cc b/views/view_gtk.cc index 5293db1..941908f 100644 --- a/views/view_gtk.cc +++ b/views/view_gtk.cc @@ -10,11 +10,6 @@ namespace views { -FocusManager* View::GetFocusManager() { - NOTIMPLEMENTED(); - return NULL; -} - void View::DoDrag(const MouseEvent& e, int press_x, int press_y) { NOTIMPLEMENTED(); } diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc index 3a595a27..b3d35a7 100644 --- a/views/widget/root_view.cc +++ b/views/widget/root_view.cc @@ -266,7 +266,11 @@ void RootView::ViewHierarchyChanged(bool is_add, View* parent, View* child) { // An unparanted RootView does not have a FocusManager. if (focus_manager) focus_manager->ViewRemoved(parent, child); +#if defined(OS_WIN) ViewStorage::GetSharedInstance()->ViewRemoved(parent, child); +#else + NOTIMPLEMENTED(); +#endif } } |