| Index: chrome/browser/tabs/tab_strip_model.cc
|
| ===================================================================
|
| --- chrome/browser/tabs/tab_strip_model.cc (revision 18128)
|
| +++ chrome/browser/tabs/tab_strip_model.cc (working copy)
|
| @@ -405,6 +405,7 @@
|
| case CommandReload:
|
| case CommandCloseTab:
|
| return true;
|
| + case CommandReloadAll:
|
| case CommandCloseOtherTabs:
|
| return count() > 1;
|
| case CommandCloseTabsToRight:
|
| @@ -436,6 +437,12 @@
|
| UserMetrics::RecordAction(L"TabContextMenu_Reload", profile_);
|
| GetContentsAt(context_index)->controller().Reload(true);
|
| break;
|
| + case CommandReloadAll: {
|
| + UserMetrics::RecordAction(L"TabContextMenu_ReloadAll", profile_);
|
| + for (int i = count() - 1; i >= 0; --i)
|
| + GetContentsAt(i)->controller().Reload(true);
|
| + break;
|
| + }
|
| case CommandDuplicate:
|
| UserMetrics::RecordAction(L"TabContextMenu_Duplicate", profile_);
|
| delegate_->DuplicateContentsAt(context_index);
|
|
|