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

Side by Side Diff: content/browser/renderer_host/render_message_filter.h

Issue 7080024: Mac: Part 1 of a fix to get OOP font loading working in the renderer on 10.6.6 . (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool* cookies_enabled); 124 bool* cookies_enabled);
125 void OnPluginFileDialog(const IPC::Message& msg, 125 void OnPluginFileDialog(const IPC::Message& msg,
126 bool multiple_files, 126 bool multiple_files,
127 const std::wstring& title, 127 const std::wstring& title,
128 const std::wstring& filter, 128 const std::wstring& filter,
129 uint32 user_data); 129 uint32 user_data);
130 130
131 #if defined(OS_MACOSX) 131 #if defined(OS_MACOSX)
132 void OnLoadFont(const FontDescriptor& font, 132 void OnLoadFont(const FontDescriptor& font,
133 uint32* handle_size, 133 uint32* handle_size,
134 base::SharedMemoryHandle* handle); 134 base::SharedMemoryHandle* handle,
135 uint32* font_id);
135 #endif 136 #endif
136 137
137 #if defined(OS_WIN) // This hack is Windows-specific. 138 #if defined(OS_WIN) // This hack is Windows-specific.
138 // Cache fonts for the renderer. See RenderMessageFilter::OnPreCacheFont 139 // Cache fonts for the renderer. See RenderMessageFilter::OnPreCacheFont
139 // implementation for more details. 140 // implementation for more details.
140 void OnPreCacheFont(LOGFONT font); 141 void OnPreCacheFont(LOGFONT font);
141 #endif 142 #endif
142 143
143 #if !defined(OS_MACOSX) 144 #if !defined(OS_MACOSX)
144 // Not handled in the IO thread on Mac. 145 // Not handled in the IO thread on Mac.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 base::TimeTicks last_plugin_refresh_time_; 250 base::TimeTicks last_plugin_refresh_time_;
250 251
251 scoped_refptr<WebKitContext> webkit_context_; 252 scoped_refptr<WebKitContext> webkit_context_;
252 253
253 int render_process_id_; 254 int render_process_id_;
254 255
255 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); 256 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
256 }; 257 };
257 258
258 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 259 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW
« 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