We have this test in several places:

```
if (brackets.inBrowser || _isContextMenu(this.id))
```

It would be nice to refactor this into a function like `_isHTMLMenu(id)`. This way once we add support for native context menus, we only need to update the code in one spot.