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.h
int command_id,
                       const base::string16& label,
                       Menu* menu);
  void SetIcon(int index, const gfx::Image& image);
  void SetSublabel(int index, const base::string16& sublabel);
  void SetRole(int index, const base::string16& role);
  void Clear();
  int GetIndexOfCommandId(int command_id);
  int GetItemCount() const;
  int GetCommandIdAt(int index) const;
  base::string16 GetLabelAt(int index) const;
  base::string16 GetSublabelAt(int index) const;
  bool IsItemCheckedAt(int index) const;
  bool IsEnabledAt(int index) const;
  bool IsVisibleAt(int index) const;
  
  base::Callback<bool(int)> is_checked_;
  base::Callback<bool(int)> is_enabled_;
  base::Callback<bool(int)> is_visible_;
  base::Callback<v8::Local<v8::Value>(int, bool)> get_accelerator_;
  base::Callback<void(v8::Local<v8::Value>, int)> execute_command_;
  base::Callback<void()> menu_will_show_;
  DISALLOW_COPY_AND_ASSIGN(Menu);
};
}  
}  
namespace mate {
template<>
struct Converter<atom::AtomMenuModel*> {
  static bool FromV8(v8::Isolate* isolate, v8::Local<v8::Value> val,