Hello folks,

Doing a right click on a flash object opens up a context menu as expected, but clicking on the entries has no effect. Can't change quality of a flash game for example.

It works fine in v1.7.x.
The attached .zip contains the newest pepper based flash plugin, a main.js and a package.json that might help you reproduce the issue.


System:
Win7 x64
Electron v1.8.x
Pepper Flash Plugin v26.0.0.151 x64
[flash-context-menu.zip](https://github.com/electron/electron/files/1285786/flash-context-menu.zip)

atom/browser/api/atom_api_menu.cc
return is_enabled_.Run(command_id);
}
bool Menu::IsCommandIdVisible(int command_id) const {
  return is_visible_.Run(command_id);
}
bool Menu::GetAcceleratorForCommandIdWithParams(
    int command_id,
    bool use_default_accelerator,
    ui::Accelerator* accelerator) const {
  v8::Locker locker(isolate());
  v8::HandleScope handle_scope(isolate());
  v8::Local<v8::Value> val = get_accelerator_.Run(
      command_id, use_default_accelerator);
  return mate::ConvertFromV8(isolate(), val, accelerator);
}
void Menu::ExecuteCommand(int command_id, int flags) {
  execute_command_.Run(
      mate::internal::CreateEventFromFlags(isolate(), flags),
      command_id);
}
void Menu::MenuWillShow(ui::SimpleMenuModel* source) {
  menu_will_show_.Run();
}
void Menu::InsertItemAt(
    int index, int command_id, const base::string16& label) {
  model_->InsertItemAt(index, command_id, label);
}
void Menu::InsertSeparatorAt(int index) {