| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 { | 90 { |
| 91 return m_font ? m_font->hash() : NULL; | 91 return m_font ? m_font->hash() : NULL; |
| 92 } | 92 } |
| 93 | 93 |
| 94 bool operator==(const FontPlatformData& other) const | 94 bool operator==(const FontPlatformData& other) const |
| 95 { | 95 { |
| 96 return m_font == other.m_font && m_size == other.m_size && m_orientation
== other.m_orientation; | 96 return m_font == other.m_font && m_size == other.m_size && m_orientation
== other.m_orientation; |
| 97 } | 97 } |
| 98 | 98 |
| 99 #if ENABLE(OPENTYPE_VERTICAL) | 99 #if ENABLE(OPENTYPE_VERTICAL) |
| 100 const OpenTypeVerticalData* verticalData() const; | 100 PassRefPtr<OpenTypeVerticalData> verticalData() const; |
| 101 PassRefPtr<SharedBuffer> openTypeTable(uint32_t table) const; | 101 PassRefPtr<SharedBuffer> openTypeTable(uint32_t table) const; |
| 102 #endif | 102 #endif |
| 103 | 103 |
| 104 #ifndef NDEBUG | 104 #ifndef NDEBUG |
| 105 String description() const; | 105 String description() const; |
| 106 #endif | 106 #endif |
| 107 | 107 |
| 108 SCRIPT_FONTPROPERTIES* scriptFontProperties() const; | 108 SCRIPT_FONTPROPERTIES* scriptFontProperties() const; |
| 109 SCRIPT_CACHE* scriptCache() const { return &m_scriptCache; } | 109 SCRIPT_CACHE* scriptCache() const { return &m_scriptCache; } |
| 110 | 110 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 SkTypeface* m_typeface; // cached from m_font | 151 SkTypeface* m_typeface; // cached from m_font |
| 152 int m_lfQuality; // cached from m_font | 152 int m_lfQuality; // cached from m_font |
| 153 | 153 |
| 154 mutable SCRIPT_CACHE m_scriptCache; | 154 mutable SCRIPT_CACHE m_scriptCache; |
| 155 mutable SCRIPT_FONTPROPERTIES* m_scriptFontProperties; | 155 mutable SCRIPT_FONTPROPERTIES* m_scriptFontProperties; |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // WebCore | 158 } // WebCore |
| 159 | 159 |
| 160 #endif // FontPlatformDataChromiumWin_h | 160 #endif // FontPlatformDataChromiumWin_h |
| OLD | NEW |