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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontCache.h

Issue 2795413003: Rewrite references to "wtf/" to "platform/wtf/" in platform/fonts. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
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 12 matching lines...) Expand all
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
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>
34 #include <memory>
33 #include "platform/PlatformExport.h" 35 #include "platform/PlatformExport.h"
34 #include "platform/fonts/FallbackListCompositeKey.h" 36 #include "platform/fonts/FallbackListCompositeKey.h"
35 #include "platform/fonts/FontCacheKey.h" 37 #include "platform/fonts/FontCacheKey.h"
36 #include "platform/fonts/FontFaceCreationParams.h" 38 #include "platform/fonts/FontFaceCreationParams.h"
37 #include "platform/fonts/FontFallbackPriority.h" 39 #include "platform/fonts/FontFallbackPriority.h"
40 #include "platform/wtf/Allocator.h"
41 #include "platform/wtf/Forward.h"
42 #include "platform/wtf/HashMap.h"
43 #include "platform/wtf/PassRefPtr.h"
44 #include "platform/wtf/text/CString.h"
45 #include "platform/wtf/text/Unicode.h"
46 #include "platform/wtf/text/WTFString.h"
38 #include "third_party/skia/include/core/SkRefCnt.h" 47 #include "third_party/skia/include/core/SkRefCnt.h"
39 #include "wtf/Allocator.h"
40 #include "wtf/Forward.h"
41 #include "wtf/HashMap.h"
42 #include "wtf/PassRefPtr.h"
43 #include "wtf/text/CString.h"
44 #include "wtf/text/Unicode.h"
45 #include "wtf/text/WTFString.h"
46 #include <limits.h>
47 #include <memory>
48 48
49 #include "SkFontMgr.h" 49 #include "SkFontMgr.h"
50 50
51 class SkString; 51 class SkString;
52 class SkTypeface; 52 class SkTypeface;
53 53
54 namespace base { 54 namespace base {
55 namespace trace_event { 55 namespace trace_event {
56 class ProcessMemoryDump; 56 class ProcessMemoryDump;
57 } 57 }
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 public: 302 public:
303 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } 303 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); }
304 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } 304 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); }
305 }; 305 };
306 306
307 AtomicString toAtomicString(const SkString&); 307 AtomicString toAtomicString(const SkString&);
308 308
309 } // namespace blink 309 } // namespace blink
310 310
311 #endif 311 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/Font.cpp ('k') | third_party/WebKit/Source/platform/fonts/FontCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698