| Index: third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js b/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| index 46f0e9f6255557e36e8d8bb9e5aa8551ab34b34e..33f8545aac8ab70c8d2a099526877f0125454058 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| @@ -134,6 +134,8 @@ WebInspector.SoftContextMenu.prototype = {
|
| return menuItemElement;
|
| }
|
|
|
| + if (!item.enabled)
|
| + menuItemElement.classList.add("soft-context-menu-disabled");
|
| menuItemElement.createTextChild(item.label);
|
| menuItemElement.createChild("span", "soft-context-menu-shortcut").textContent = item.shortcut;
|
|
|
|
|