OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef FontFamily_h | 26 #ifndef FontFamily_h |
27 #define FontFamily_h | 27 #define FontFamily_h |
28 | 28 |
29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
30 #include "wtf/RefCounted.h" | 30 #include "wtf/RefCounted.h" |
31 #include "wtf/RefPtr.h" | 31 #include "wtf/RefPtr.h" |
32 #include "wtf/text/AtomicString.h" | 32 #include "wtf/text/AtomicString.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace blink { |
35 | 35 |
36 class SharedFontFamily; | 36 class SharedFontFamily; |
37 | 37 |
38 class PLATFORM_EXPORT FontFamily { | 38 class PLATFORM_EXPORT FontFamily { |
39 public: | 39 public: |
40 FontFamily() { } | 40 FontFamily() { } |
41 ~FontFamily(); | 41 ~FontFamily(); |
42 | 42 |
43 void setFamily(const AtomicString& family) { m_family = family; } | 43 void setFamily(const AtomicString& family) { m_family = family; } |
44 const AtomicString& family() const { return m_family; } | 44 const AtomicString& family() const { return m_family; } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 } | 86 } |
87 | 87 |
88 inline PassRefPtr<SharedFontFamily> FontFamily::releaseNext() | 88 inline PassRefPtr<SharedFontFamily> FontFamily::releaseNext() |
89 { | 89 { |
90 return m_next.release(); | 90 return m_next.release(); |
91 } | 91 } |
92 | 92 |
93 } | 93 } |
94 | 94 |
95 #endif | 95 #endif |
OLD | NEW |