| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. |
| 6 * All rights reserved. | 6 * All rights reserved. |
| 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 } | 54 } |
| 55 | 55 |
| 56 void updateTextFragments(); | 56 void updateTextFragments(); |
| 57 | 57 |
| 58 void attachLayoutTree(const AttachContext& = AttachContext()) override; | 58 void attachLayoutTree(const AttachContext& = AttachContext()) override; |
| 59 void detachLayoutTree(const AttachContext& = AttachContext()) override; | 59 void detachLayoutTree(const AttachContext& = AttachContext()) override; |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 explicit FirstLetterPseudoElement(Element*); | 62 explicit FirstLetterPseudoElement(Element*); |
| 63 | 63 |
| 64 void didRecalcStyle(StyleRecalcChange) override; | 64 void didRecalcStyle() override; |
| 65 | 65 |
| 66 void attachFirstLetterTextLayoutObjects(); | 66 void attachFirstLetterTextLayoutObjects(); |
| 67 ComputedStyle* styleForFirstLetter(LayoutObject*); | 67 ComputedStyle* styleForFirstLetter(LayoutObject*); |
| 68 | 68 |
| 69 LayoutTextFragment* m_remainingTextLayoutObject; | 69 LayoutTextFragment* m_remainingTextLayoutObject; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 DEFINE_ELEMENT_TYPE_CASTS(FirstLetterPseudoElement, | 72 DEFINE_ELEMENT_TYPE_CASTS(FirstLetterPseudoElement, |
| 73 isFirstLetterPseudoElement()); | 73 isFirstLetterPseudoElement()); |
| 74 | 74 |
| 75 } // namespace blink | 75 } // namespace blink |
| 76 | 76 |
| 77 #endif // FirstLetterPseudoElement_h | 77 #endif // FirstLetterPseudoElement_h |
| OLD | NEW |