| Index: trunk/src/chrome/browser/plugins/plugin_observer.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/plugins/plugin_observer.cc (revision 269108)
|
| +++ trunk/src/chrome/browser/plugins/plugin_observer.cc (working copy)
|
| @@ -329,12 +329,25 @@
|
| infobar_text);
|
| }
|
|
|
| -bool PluginObserver::OnMessageReceived(const IPC::Message& message) {
|
| +bool PluginObserver::OnMessageReceived(
|
| + const IPC::Message& message,
|
| + content::RenderFrameHost* render_frame_host) {
|
| IPC_BEGIN_MESSAGE_MAP(PluginObserver, message)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_BlockedOutdatedPlugin,
|
| OnBlockedOutdatedPlugin)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_BlockedUnauthorizedPlugin,
|
| OnBlockedUnauthorizedPlugin)
|
| + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported,
|
| + OnNPAPINotSupported)
|
| +
|
| + IPC_MESSAGE_UNHANDLED(return false)
|
| + IPC_END_MESSAGE_MAP()
|
| +
|
| + return true;
|
| +}
|
| +
|
| +bool PluginObserver::OnMessageReceived(const IPC::Message& message) {
|
| + IPC_BEGIN_MESSAGE_MAP(PluginObserver, message)
|
| #if defined(ENABLE_PLUGIN_INSTALLATION)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_FindMissingPlugin,
|
| OnFindMissingPlugin)
|
| @@ -345,8 +358,6 @@
|
| OnOpenAboutPlugins)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CouldNotLoadPlugin,
|
| OnCouldNotLoadPlugin)
|
| - IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported,
|
| - OnNPAPINotSupported)
|
|
|
| IPC_MESSAGE_UNHANDLED(return false)
|
| IPC_END_MESSAGE_MAP()
|
|
|