| 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserv
ed. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 virtual InlineBox* createInlineBox() OVERRIDE; | 64 virtual InlineBox* createInlineBox() OVERRIDE; |
| 65 | 65 |
| 66 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const OVERRIDE; | 66 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const OVERRIDE; |
| 67 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const OVERRIDE; | 67 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const OVERRIDE; |
| 68 | 68 |
| 69 virtual bool isImage() const OVERRIDE; | 69 virtual bool isImage() const OVERRIDE; |
| 70 bool isText() const { return !isImage(); } | 70 bool isText() const { return !isImage(); } |
| 71 | 71 |
| 72 virtual void setSelectionState(SelectionState) OVERRIDE; | 72 virtual void setSelectionState(SelectionState) OVERRIDE; |
| 73 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer, bool clipToVisibleContent = true) const OVERR
IDE; | 73 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer) const OVERRIDE; |
| 74 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } | 74 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } |
| 75 | 75 |
| 76 void updateMargins(); | 76 void updateMargins(); |
| 77 void updateContent(); | 77 void updateContent(); |
| 78 | 78 |
| 79 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) O
VERRIDE; | 79 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) O
VERRIDE; |
| 80 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 80 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
| 81 | 81 |
| 82 IntRect getRelativeMarkerRect(); | 82 IntRect getRelativeMarkerRect(); |
| 83 LayoutRect localSelectionRect(); | 83 LayoutRect localSelectionRect(); |
| 84 | 84 |
| 85 String m_text; | 85 String m_text; |
| 86 RefPtr<StyleImage> m_image; | 86 RefPtr<StyleImage> m_image; |
| 87 RawPtrWillBeMember<RenderListItem> m_listItem; | 87 RawPtrWillBeMember<RenderListItem> m_listItem; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListMarker, isListMarker()); | 90 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListMarker, isListMarker()); |
| 91 | 91 |
| 92 } // namespace blink | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif // RenderListMarker_h | 94 #endif // RenderListMarker_h |
| OLD | NEW |