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_web_contents.cc
content::WebContents* source_contents,
    int opener_render_process_id,
    int opener_render_frame_id,
    const std::string& frame_name,
    const GURL& target_url,
    content::WebContents* new_contents) {
  v8::Locker locker(isolate());
  v8::HandleScope handle_scope(isolate());
  auto api_web_contents = CreateFrom(isolate(), new_contents, BROWSER_WINDOW);
  Emit("-web-contents-created", api_web_contents, target_url, frame_name);
}
void WebContents::AddNewContents(content::WebContents* source,
                                 content::WebContents* new_contents,
                                 WindowOpenDisposition disposition,
                                 const gfx::Rect& initial_rect,
                                 bool user_gesture,
                                 bool* was_blocked) {
  new ChildWebContentsTracker(new_contents);
  v8::Locker locker(isolate());
  v8::HandleScope handle_scope(isolate());
  auto api_web_contents = CreateFrom(isolate(), new_contents);
  if (Emit("-add-new-contents", api_web_contents, disposition, user_gesture,
      initial_rect.x(), initial_rect.y(), initial_rect.width(),
      initial_rect.height())) {
    api_web_contents->DestroyWebContents(true );
  }
}
content::WebContents* WebContents::OpenURLFromTab(