| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index c1556d9e1bb6c69324779bc9d7c71a1975e8835d..983e1ac3edac6d53287551c66a2127751f08b033 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -1451,6 +1451,12 @@ void Browser::ActivateContents(WebContents* contents) {
|
| window_->Activate();
|
| }
|
|
|
| +void Browser::ActivateContentsForUserGesture(WebContents* contents) {
|
| + tab_strip_model_->ActivateTabAt(
|
| + tab_strip_model_->GetIndexOfWebContents(contents), false);
|
| + window_->ActivateForUserGesture();
|
| +}
|
| +
|
| void Browser::DeactivateContents(WebContents* contents) {
|
| window_->Deactivate();
|
| }
|
|
|