Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(715)

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 8759013: Dispatch the Windows font caching IPCs in one filter. This avoids having the code that calls thos... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_message_filter.h
===================================================================
--- content/browser/renderer_host/render_message_filter.h (revision 112358)
+++ content/browser/renderer_host/render_message_filter.h (working copy)
@@ -73,9 +73,6 @@
// IPC::ChannelProxy::MessageFilter methods:
virtual void OnChannelClosing() OVERRIDE;
-#if defined (OS_WIN)
- virtual void OnChannelError() OVERRIDE;
-#endif
// BrowserMessageFilter methods:
virtual bool OnMessageReceived(const IPC::Message& message,
@@ -132,8 +129,7 @@
uint32* font_id);
#endif
-#if defined(OS_WIN)
-#if !defined(USE_AURA)
+#if defined(OS_WIN) && !defined(USE_AURA)
// On Windows, we handle these on the IO thread to avoid a deadlock with
// plugins. On non-Windows systems, we need to handle them on the UI thread.
void OnGetScreenInfo(gfx::NativeViewId window,
@@ -142,15 +138,6 @@
void OnGetRootWindowRect(gfx::NativeViewId window, gfx::Rect* rect);
#endif
- // This hack is Windows-specific.
- // Cache fonts for the renderer. See RenderMessageFilter::OnPreCacheFont
- // implementation for more details.
- void OnPreCacheFont(const LOGFONT& font);
-
- // Release fonts cached for renderer.
- void OnReleaseCachedFonts();
-#endif
-
void OnGetPlugins(bool refresh, IPC::Message* reply_msg);
void GetPluginsCallback(IPC::Message* reply_msg,
const std::vector<webkit::WebPluginInfo>& plugins);
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698