| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 071d8bd1a36660ea5ca2792036c95b1bfb3de1f1..3143f87de64040742183fbe7264044eeaf9bb1be 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -1389,6 +1389,10 @@ void Browser::BeforeUnloadFired(WebContents* web_contents,
|
| unload_controller_->BeforeUnloadFired(web_contents, proceed);
|
| }
|
|
|
| +bool Browser::ShouldFocusLocationBarByDefault(WebContents* source) {
|
| + return source->GetURL() == GURL(chrome::kChromeUINewTabURL);
|
| +}
|
| +
|
| void Browser::SetFocusToLocationBar(bool select_all) {
|
| // Two differences between this and FocusLocationBar():
|
| // (1) This doesn't get recorded in user metrics, since it's called
|
|
|