| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Apple Computer, Inc. | 2 * Copyright (C) 2006, 2007 Apple Computer, Inc. |
| 3 * Copyright (c) 2006, 2007, 2008, 2009, Google Inc. All rights reserved. | 3 * Copyright (c) 2006, 2007, 2008, 2009, Google Inc. All rights reserved. |
| 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 bool isHashTableDeletedValue() const { return m_isHashTableDeletedValue; } | 83 bool isHashTableDeletedValue() const { return m_isHashTableDeletedValue; } |
| 84 | 84 |
| 85 ~FontPlatformData(); | 85 ~FontPlatformData(); |
| 86 | 86 |
| 87 bool isFixedPitch() const; | 87 bool isFixedPitch() const; |
| 88 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } | 88 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } |
| 89 float size() const { return m_size; } | 89 float size() const { return m_size; } |
| 90 SkTypeface* typeface() const { return m_typeface.get(); } | 90 SkTypeface* typeface() const { return m_typeface.get(); } |
| 91 int paintTextFlags() const { return m_paintTextFlags; } | 91 int paintTextFlags() const { return m_paintTextFlags; } |
| 92 | 92 |
| 93 String fontFamilyName() const; |
| 94 |
| 93 FontOrientation orientation() const { return m_orientation; } | 95 FontOrientation orientation() const { return m_orientation; } |
| 94 void setOrientation(FontOrientation orientation) { m_orientation = orientati
on; } | 96 void setOrientation(FontOrientation orientation) { m_orientation = orientati
on; } |
| 95 | 97 |
| 96 unsigned hash() const | 98 unsigned hash() const |
| 97 { | 99 { |
| 98 return m_font ? m_font->hash() : NULL; | 100 return m_font ? m_font->hash() : NULL; |
| 99 } | 101 } |
| 100 | 102 |
| 101 bool operator==(const FontPlatformData& other) const | 103 bool operator==(const FontPlatformData& other) const |
| 102 { | 104 { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 162 |
| 161 mutable SCRIPT_CACHE m_scriptCache; | 163 mutable SCRIPT_CACHE m_scriptCache; |
| 162 mutable OwnPtr<SCRIPT_FONTPROPERTIES> m_scriptFontProperties; | 164 mutable OwnPtr<SCRIPT_FONTPROPERTIES> m_scriptFontProperties; |
| 163 | 165 |
| 164 bool m_isHashTableDeletedValue; | 166 bool m_isHashTableDeletedValue; |
| 165 }; | 167 }; |
| 166 | 168 |
| 167 } // WebCore | 169 } // WebCore |
| 168 | 170 |
| 169 #endif // FontPlatformDataChromiumWin_h | 171 #endif // FontPlatformDataChromiumWin_h |
| OLD | NEW |