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

Side by Side Diff: Source/core/css/CSSFontFace.h

Issue 18882002: [oilpan] Move CSSSegmentedFontFace to the managed heap (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: 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 | « no previous file | Source/core/css/CSSFontFace.cpp » ('j') | Source/core/css/CSSFontSelector.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 public: 46 public:
47 static PassRefPtr<CSSFontFace> create(FontTraitsMask traitsMask, Handle<CSSF ontFaceRule> rule, bool isLocalFallback = false) { return adoptRef(new CSSFontFa ce(traitsMask, rule, isLocalFallback)); } 47 static PassRefPtr<CSSFontFace> create(FontTraitsMask traitsMask, Handle<CSSF ontFaceRule> rule, bool isLocalFallback = false) { return adoptRef(new CSSFontFa ce(traitsMask, rule, isLocalFallback)); }
48 48
49 FontTraitsMask traitsMask() const { return m_traitsMask; } 49 FontTraitsMask traitsMask() const { return m_traitsMask; }
50 50
51 struct UnicodeRange; 51 struct UnicodeRange;
52 52
53 void addRange(UChar32 from, UChar32 to) { m_ranges.append(UnicodeRange(from, to)); } 53 void addRange(UChar32 from, UChar32 to) { m_ranges.append(UnicodeRange(from, to)); }
54 const Vector<UnicodeRange>& ranges() const { return m_ranges; } 54 const Vector<UnicodeRange>& ranges() const { return m_ranges; }
55 55
56 void addedToSegmentedFontFace(CSSSegmentedFontFace*); 56 void addedToSegmentedFontFace(Handle<CSSSegmentedFontFace>);
57 void removedFromSegmentedFontFace(CSSSegmentedFontFace*); 57 void removedFromSegmentedFontFace(Handle<CSSSegmentedFontFace>);
58 58
59 bool isLoaded() const; 59 bool isLoaded() const;
60 bool isValid() const; 60 bool isValid() const;
61 61
62 bool isLocalFallback() const { return m_isLocalFallback; } 62 bool isLocalFallback() const { return m_isLocalFallback; }
63 63
64 void addSource(PassOwnPtr<CSSFontFaceSource>); 64 void addSource(PassOwnPtr<CSSFontFaceSource>);
65 65
66 void fontLoaded(CSSFontFaceSource*); 66 void fontLoaded(CSSFontFaceSource*);
67 67
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 CSSFontFaceSource* m_activeSource; 107 CSSFontFaceSource* m_activeSource;
108 bool m_isLocalFallback; 108 bool m_isLocalFallback;
109 LoadState m_loadState; 109 LoadState m_loadState;
110 Persistent<CSSFontFaceRule> m_rule; 110 Persistent<CSSFontFaceRule> m_rule;
111 void notifyFontLoader(LoadState); 111 void notifyFontLoader(LoadState);
112 }; 112 };
113 113
114 } 114 }
115 115
116 #endif 116 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSFontFace.cpp » ('j') | Source/core/css/CSSFontSelector.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698