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

Side by Side Diff: content/common/font_cache_dispatcher_win.h

Issue 11363008: Fix for 128506: Random Chinese/Japanese characters are missing in documents printed via the syst... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_FONT_CACHE_DISPATCHER_WIN_H_ 5 #ifndef CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_
6 #define CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_ 6 #define CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 13 matching lines...) Expand all
24 virtual bool Send(IPC::Message* message) OVERRIDE; 24 virtual bool Send(IPC::Message* message) OVERRIDE;
25 25
26 private: 26 private:
27 // IPC::ChannelProxy::MessageFilter implementation: 27 // IPC::ChannelProxy::MessageFilter implementation:
28 virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE; 28 virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE;
29 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 29 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
30 virtual void OnChannelClosing() OVERRIDE; 30 virtual void OnChannelClosing() OVERRIDE;
31 31
32 // Message handlers. 32 // Message handlers.
33 void OnPreCacheFont(const LOGFONT& font); 33 void OnPreCacheFont(const LOGFONT& font);
34 void OnPreCacheFontCharacters(const LOGFONT& font, const std::wstring& str);
34 void OnReleaseCachedFonts(); 35 void OnReleaseCachedFonts();
35 36
36 IPC::Channel* channel_; 37 IPC::Channel* channel_;
37 38
38 DISALLOW_COPY_AND_ASSIGN(FontCacheDispatcher); 39 DISALLOW_COPY_AND_ASSIGN(FontCacheDispatcher);
39 }; 40 };
40 41
41 #endif // CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_ 42 #endif // CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698