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

Side by Side Diff: Source/core/platform/graphics/FontCache.h

Issue 19762007: core/platform: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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 | « Source/core/platform/graphics/Font.cpp ('k') | Source/core/platform/graphics/FontData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2007-2008 Torch Mobile, Inc. 3 * Copyright (C) 2007-2008 Torch Mobile, Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef FontCache_h 30 #ifndef FontCache_h
31 #define FontCache_h 31 #define FontCache_h
32 32
33 #include <limits.h> 33 #include <limits.h>
34 #include <wtf/Forward.h> 34 #include "wtf/Forward.h"
35 #include <wtf/PassRefPtr.h> 35 #include "wtf/PassRefPtr.h"
36 #include <wtf/RefPtr.h> 36 #include "wtf/RefPtr.h"
37 #include <wtf/Vector.h> 37 #include "wtf/Vector.h"
38 #include <wtf/text/WTFString.h> 38 #include "wtf/text/WTFString.h"
39 #include <wtf/unicode/Unicode.h> 39 #include "wtf/unicode/Unicode.h"
40 40
41 #if OS(WINDOWS) 41 #if OS(WINDOWS)
42 #include <windows.h> 42 #include <windows.h>
43 #include <objidl.h> 43 #include <objidl.h>
44 #include <mlang.h> 44 #include <mlang.h>
45 #endif 45 #endif
46 46
47 namespace WebCore { 47 namespace WebCore {
48 48
49 class Font; 49 class Font;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 class FontCachePurgePreventer { 144 class FontCachePurgePreventer {
145 public: 145 public:
146 FontCachePurgePreventer() { fontCache()->disablePurging(); } 146 FontCachePurgePreventer() { fontCache()->disablePurging(); }
147 ~FontCachePurgePreventer() { fontCache()->enablePurging(); } 147 ~FontCachePurgePreventer() { fontCache()->enablePurging(); }
148 }; 148 };
149 149
150 } 150 }
151 151
152 #endif 152 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/Font.cpp ('k') | Source/core/platform/graphics/FontData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698