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:
@ -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() {
|
||||
|
Reference in New Issue
Block a user