0

Set focus to content area after navigating so that it has focus (matches what chrome does).

BUG=90445
Review URL: http://codereview.chromium.org/8052004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102872 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
jam@chromium.org
2011-09-27 02:40:15 +00:00
parent 7873ddc41c
commit 9b97b22805

@ -81,18 +81,22 @@ void Shell::LoadURL(const GURL& url) {
GURL(),
PageTransition::TYPED,
std::string());
tab_contents_->Focus();
}
void Shell::GoBackOrForward(int offset) {
tab_contents_->controller().GoToOffset(offset);
tab_contents_->Focus();
}
void Shell::Reload() {
tab_contents_->controller().Reload(false);
tab_contents_->Focus();
}
void Shell::Stop() {
tab_contents_->Stop();
tab_contents_->Focus();
}
void Shell::UpdateNavigationControls() {