I am trying to find the proper place to add a hook in CEF (or Chromium if need be) to let me know when a page requests an NPAPI plugin (like a Java applet). I'd like to be able to alert the user about the plugin and the problem in a friendly way. I had thought
ContentRendererClient::bool ContentRendererClient::OverrideCreatePlugin(
RenderFrame* render_frame,
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params,
blink::WebPlugin** plugin);
was the proper place but that doesn't seem to be working for me. Any thoughts?