| Index: chrome/browser/resources/net_internals/tab_switcher_view.js
|
| diff --git a/chrome/browser/resources/net_internals/tab_switcher_view.js b/chrome/browser/resources/net_internals/tab_switcher_view.js
|
| index 16347ad162f490b42de9eedfa67a43f45b185e25..9abdc87b5aa228ba914f7db643e9577ecef18ec5 100644
|
| --- a/chrome/browser/resources/net_internals/tab_switcher_view.js
|
| +++ b/chrome/browser/resources/net_internals/tab_switcher_view.js
|
| @@ -93,7 +93,12 @@ var TabSwitcherView = (function() {
|
|
|
| showMenuItem: function(tabId, isVisible) {
|
| var wasActive = this.activeTabId_ == tabId;
|
| - setNodeDisplay(this.getMenuItemNode_(tabId), isVisible);
|
| +
|
| + // Hide the menuitem from the list. Note it needs to be 'disabled' to
|
| + // prevent it being selectable from keyboard.
|
| + var menuitem = this.getMenuItemNode_(tabId);
|
| + setNodeDisplay(menuitem, isVisible);
|
| + menuitem.disabled = !isVisible;
|
|
|
| if (wasActive && !isVisible) {
|
| // If the active tab is being hidden in the dropdown menu, then
|
|
|