summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tab_contents
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-08 21:27:28 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-08 21:27:28 +0000
commit90daadb496f6e589f533fbd2fe3727cf86204f82 (patch)
tree59304e0a7ae87410a70eb9d4a7ab1412c38220c5 /chrome/browser/views/tab_contents
parentc55afea2eec383549358d934e19b29d78fd4e41b (diff)
downloadchromium_src-90daadb496f6e589f533fbd2fe3727cf86204f82.zip
chromium_src-90daadb496f6e589f533fbd2fe3727cf86204f82.tar.gz
chromium_src-90daadb496f6e589f533fbd2fe3727cf86204f82.tar.bz2
Rename the TabContents::SetInitialFocus(reverse) method to TabContents::FocusThroughTabTraversal(reverse), as SetInitialiFocus can be easily confused with TabContentView::SetInitialFocus().
BUG=None TEST=None Review URL: http://codereview.chromium.org/118392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tab_contents')
-rw-r--r--chrome/browser/views/tab_contents/native_tab_contents_container_win.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc b/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc
index eaecb12..800bb54 100644
--- a/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc
+++ b/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc
@@ -148,10 +148,11 @@ void NativeTabContentsContainerWin::AboutToRequestFocusFromTabTraversal(
return;
// Give an opportunity to the tab to reset its focus.
if (container_->tab_contents()->interstitial_page()) {
- container_->tab_contents()->interstitial_page()->SetInitialFocus(reverse);
+ container_->tab_contents()->interstitial_page()->
+ FocusThroughTabTraversal(reverse);
return;
}
- container_->tab_contents()->SetInitialFocus(reverse);
+ container_->tab_contents()->FocusThroughTabTraversal(reverse);
}
bool NativeTabContentsContainerWin::GetAccessibleRole(