Index: chrome/browser/chrome_plugin_message_filter.cc |
=================================================================== |
--- chrome/browser/chrome_plugin_message_filter.cc (revision 99983) |
+++ chrome/browser/chrome_plugin_message_filter.cc (working copy) |
@@ -32,7 +32,7 @@ |
bool ChromePluginMessageFilter::OnMessageReceived(const IPC::Message& message) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(ChromePluginMessageFilter, message) |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && !defined(USE_AURA) |
IPC_MESSAGE_HANDLER(ChromePluginProcessHostMsg_DownloadUrl, OnDownloadUrl) |
#endif |
IPC_MESSAGE_HANDLER(ChromePluginProcessHostMsg_GetPluginFinderUrl, |
@@ -49,7 +49,7 @@ |
return process_->Send(message); |
} |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && !defined(USE_AURA) |
void ChromePluginMessageFilter::OnDownloadUrl(const std::string& url, |
gfx::NativeWindow caller_window) { |
BrowserThread::PostTask( |