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

Side by Side Diff: third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CanvasFontCache_h 5 #ifndef CanvasFontCache_h
6 #define CanvasFontCache_h 6 #define CanvasFontCache_h
7 7
8 #include <memory>
8 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
9 #include "core/css/StylePropertySet.h" 10 #include "core/css/StylePropertySet.h"
10 #include "platform/fonts/Font.h" 11 #include "platform/fonts/Font.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
13 #include "platform/wtf/HashMap.h"
14 #include "platform/wtf/ListHashSet.h"
15 #include "platform/wtf/text/WTFString.h"
12 #include "public/platform/WebThread.h" 16 #include "public/platform/WebThread.h"
13 #include "wtf/HashMap.h"
14 #include "wtf/ListHashSet.h"
15 #include "wtf/text/WTFString.h"
16 #include <memory>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class ComputedStyle; 20 class ComputedStyle;
21 class Document; 21 class Document;
22 class FontCachePurgePreventer; 22 class FontCachePurgePreventer;
23 23
24 class CORE_EXPORT CanvasFontCache final 24 class CORE_EXPORT CanvasFontCache final
25 : public GarbageCollectedFinalized<CanvasFontCache>, 25 : public GarbageCollectedFinalized<CanvasFontCache>,
26 public WebThread::TaskObserver { 26 public WebThread::TaskObserver {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ListHashSet<String> font_lru_list_; 61 ListHashSet<String> font_lru_list_;
62 std::unique_ptr<FontCachePurgePreventer> main_cache_purge_preventer_; 62 std::unique_ptr<FontCachePurgePreventer> main_cache_purge_preventer_;
63 Member<Document> document_; 63 Member<Document> document_;
64 RefPtr<ComputedStyle> default_font_style_; 64 RefPtr<ComputedStyle> default_font_style_;
65 bool pruning_scheduled_; 65 bool pruning_scheduled_;
66 }; 66 };
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif 70 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698