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

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

Issue 10052006: Merge 131324 - Mac: OOP font loading should run on FILE thread. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: 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
===================================================================
--- content/browser/renderer_host/render_message_filter.h (revision 131698)
+++ content/browser/renderer_host/render_message_filter.h (working copy)
@@ -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 @@
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