diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 21:09:03 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 21:09:03 +0000 |
commit | c55afea2eec383549358d934e19b29d78fd4e41b (patch) | |
tree | 0c78ca623d268be65012581f6d7aec7e07c954e6 /views/widget/root_view.cc | |
parent | d2d89d83b409ef32bcbf7fbafe0d4e33c95515f0 (diff) | |
download | chromium_src-c55afea2eec383549358d934e19b29d78fd4e41b.zip chromium_src-c55afea2eec383549358d934e19b29d78fd4e41b.tar.gz chromium_src-c55afea2eec383549358d934e19b29d78fd4e41b.tar.bz2 |
Removing some unused FocusManager related code from RootView.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/119312
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17899 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/root_view.cc')
-rw-r--r-- | views/widget/root_view.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc index df11d3e..f5f57f4 100644 --- a/views/widget/root_view.cc +++ b/views/widget/root_view.cc @@ -70,7 +70,6 @@ RootView::RootView(Widget* widget) previous_cursor_(NULL), #endif default_keyboard_handler_(NULL), - focus_listener_(NULL), focus_on_mouse_pressed_(false), ignore_set_focus_calls_(false), focus_traversable_parent_(NULL), @@ -534,10 +533,6 @@ void RootView::ProcessMouseDragCanceled() { } } -void RootView::SetFocusListener(FocusListener* listener) { - focus_listener_ = listener; -} - void RootView::FocusView(View* view) { if (view != GetFocusedView()) { #if defined(OS_WIN) @@ -549,9 +544,6 @@ void RootView::FocusView(View* view) { View* prev_focused_view = focus_manager->GetFocusedView(); focus_manager->SetFocusedView(view); - - if (focus_listener_) - focus_listener_->FocusChanged(prev_focused_view, view); #else // TODO(port): Port the focus manager and this goes away. NOTIMPLEMENTED(); |