Index: chrome/browser/renderer_host/resource_message_filter.h |
diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h |
index 6ab9c3c4b27534201f544018dbd0f9e2ec36ba5d..91a20d81678c584268ffe4e60975cc8ede310850 100644 |
--- a/chrome/browser/renderer_host/resource_message_filter.h |
+++ b/chrome/browser/renderer_host/resource_message_filter.h |
@@ -129,7 +129,10 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter, |
void OnLoadFont(LOGFONT font); |
#endif |
+#if !defined(OS_MACOSX) |
+ // Not handled in the IO thread on Mac. |
void OnGetScreenInfo(gfx::NativeViewId window, IPC::Message* reply); |
+#endif |
void OnGetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); |
void OnGetPluginPath(const GURL& url, |
const GURL& policy_url, |
@@ -167,8 +170,11 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter, |
void OnClipboardReadAsciiText(IPC::Message* reply); |
void OnClipboardReadHTML(IPC::Message* reply); |
+#if !defined(OS_MACOSX) |
+ // Not handled in the IO thread on Mac. |
void OnGetWindowRect(gfx::NativeViewId window, IPC::Message* reply); |
void OnGetRootWindowRect(gfx::NativeViewId window, IPC::Message* reply); |
+#endif |
void OnGetMimeTypeFromExtension(const FilePath::StringType& ext, |
std::string* mime_type); |
void OnGetMimeTypeFromFile(const FilePath& file_path, |