We have StyleInspectorMenu which handles all the context menu item functionality in the rules view. We will need to add a new listener and handler for toggling the context menu functionalities. See https://searchfox.org/mozilla-central/source/devtools/client/inspector/rules/rules.js#465-475.
Bug 1521528 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We have StyleInspectorMenu (https://searchfox.org/mozilla-central/source/devtools/client/inspector/shared/style-inspector-menu.js) which handles all the context menu item functionality in the rules view. We will need to add a new listener and handler for toggling the context menu functionalities. See https://searchfox.org/mozilla-central/source/devtools/client/inspector/rules/rules.js#465-475.