OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 23 matching lines...) Expand all Loading... | |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class CSSValue; | 36 class CSSValue; |
37 class FontSelector; | 37 class FontSelector; |
38 class ComputedStyle; | 38 class ComputedStyle; |
39 | 39 |
40 class CORE_EXPORT FontBuilder { | 40 class CORE_EXPORT FontBuilder { |
41 STACK_ALLOCATED(); | 41 STACK_ALLOCATED(); |
42 WTF_MAKE_NONCOPYABLE(FontBuilder); | 42 WTF_MAKE_NONCOPYABLE(FontBuilder); |
43 public: | 43 public: |
44 FontBuilder(); | |
esprehn
2016/09/12 20:53:12
A FontBuilder without a document crashes all over
| |
44 FontBuilder(const Document&); | 45 FontBuilder(const Document&); |
45 | 46 |
46 void setInitial(float effectiveZoom); | 47 void setInitial(float effectiveZoom); |
47 | 48 |
48 void didChangeEffectiveZoom(); | 49 void didChangeEffectiveZoom(); |
49 void didChangeTextOrientation(); | 50 void didChangeTextOrientation(); |
50 void didChangeWritingMode(); | 51 void didChangeWritingMode(); |
51 | 52 |
52 FontFamily standardFontFamily() const; | 53 FontFamily standardFontFamily() const; |
53 AtomicString standardFontFamilyName() const; | 54 AtomicString standardFontFamilyName() const; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
132 | 133 |
133 void set(PropertySetFlag flag) { m_flags |= (1 << unsigned(flag)); } | 134 void set(PropertySetFlag flag) { m_flags |= (1 << unsigned(flag)); } |
134 bool isSet(PropertySetFlag flag) const { return m_flags & (1 << unsigned(fla g)); } | 135 bool isSet(PropertySetFlag flag) const { return m_flags & (1 << unsigned(fla g)); } |
135 | 136 |
136 unsigned m_flags; | 137 unsigned m_flags; |
137 }; | 138 }; |
138 | 139 |
139 } // namespace blink | 140 } // namespace blink |
140 | 141 |
141 #endif | 142 #endif |
OLD | NEW |