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

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

Issue 9950141: Mac: OOP font loading should run on FILE thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 8 months 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 710db73b12fa053fe8b8d2f26e255e0f8063d6f2..61c97e64a1db4026f3f2d6c981566be2880bd412 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -26,6 +26,10 @@
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/surface/transport_dib.h"
+#if defined(OS_MACOSX)
+#include "content/common/mac/font_loader.h"
+#endif
+
class DOMStorageContextImpl;
class PluginServiceImpl;
class RenderWidgetHelper;
@@ -131,10 +135,9 @@ class RenderMessageFilter : public content::BrowserMessageFilter {
bool* cookies_enabled);
#if defined(OS_MACOSX)
- void OnLoadFont(const FontDescriptor& font,
- uint32* handle_size,
- base::SharedMemoryHandle* handle,
- uint32* font_id);
+ // Messages for OOP font loading.
+ void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg);
+ void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result);
#endif
#if defined(OS_WIN) && !defined(USE_AURA)
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698