| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "platform/geometry/FloatPoint.h" | 36 #include "platform/geometry/FloatPoint.h" |
| 37 #include "platform/text/TextRun.h" | 37 #include "platform/text/TextRun.h" |
| 38 #include "wtf/HashSet.h" | 38 #include "wtf/HashSet.h" |
| 39 #include "wtf/OwnPtr.h" | 39 #include "wtf/OwnPtr.h" |
| 40 #include "wtf/PassOwnPtr.h" | 40 #include "wtf/PassOwnPtr.h" |
| 41 #include "wtf/unicode/CharacterNames.h" | 41 #include "wtf/unicode/CharacterNames.h" |
| 42 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
| 43 | 43 |
| 44 #include <unicode/uscript.h> | 44 #include <unicode/uscript.h> |
| 45 | 45 |
| 46 namespace WebCore { | 46 namespace blink { |
| 47 | 47 |
| 48 class Font; | 48 class Font; |
| 49 class GlyphBuffer; | 49 class GlyphBuffer; |
| 50 class SimpleFontData; | 50 class SimpleFontData; |
| 51 | 51 |
| 52 class HarfBuzzShaper FINAL { | 52 class HarfBuzzShaper FINAL { |
| 53 public: | 53 public: |
| 54 enum ForTextEmphasisOrNot { | 54 enum ForTextEmphasisOrNot { |
| 55 NotForTextEmphasis, | 55 NotForTextEmphasis, |
| 56 ForTextEmphasis | 56 ForTextEmphasis |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 int m_toIndex; | 159 int m_toIndex; |
| 160 | 160 |
| 161 ForTextEmphasisOrNot m_forTextEmphasis; | 161 ForTextEmphasisOrNot m_forTextEmphasis; |
| 162 | 162 |
| 163 float m_totalWidth; | 163 float m_totalWidth; |
| 164 FloatBoxExtent m_glyphBoundingBox; | 164 FloatBoxExtent m_glyphBoundingBox; |
| 165 | 165 |
| 166 friend struct CachedShapingResults; | 166 friend struct CachedShapingResults; |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 } // namespace WebCore | 169 } // namespace blink |
| 170 | 170 |
| 171 #endif // HarfBuzzShaper_h | 171 #endif // HarfBuzzShaper_h |
| OLD | NEW |