| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 class RenderFlowThread; | 61 class RenderFlowThread; |
| 62 class RenderGeometryMap; | 62 class RenderGeometryMap; |
| 63 class RenderLayer; | 63 class RenderLayer; |
| 64 class RenderLayerModelObject; | 64 class RenderLayerModelObject; |
| 65 class RenderNamedFlowThread; | 65 class RenderNamedFlowThread; |
| 66 class RenderSVGResourceContainer; | 66 class RenderSVGResourceContainer; |
| 67 class RenderTable; | 67 class RenderTable; |
| 68 class RenderTheme; | 68 class RenderTheme; |
| 69 class RenderView; | 69 class RenderView; |
| 70 class ResourceLoadPriorityOptimizer; | 70 class ResourceLoadPriorityOptimizer; |
| 71 class RootInlineBox; |
| 71 class TransformState; | 72 class TransformState; |
| 72 | 73 |
| 73 struct PaintInfo; | 74 struct PaintInfo; |
| 74 | 75 |
| 75 enum CursorDirective { | 76 enum CursorDirective { |
| 76 SetCursorBasedOnStyle, | 77 SetCursorBasedOnStyle, |
| 77 SetCursor, | 78 SetCursor, |
| 78 DoNotSetCursor | 79 DoNotSetCursor |
| 79 }; | 80 }; |
| 80 | 81 |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 } | 800 } |
| 800 | 801 |
| 801 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a | 802 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a |
| 802 // given new style, without accessing the cache. | 803 // given new style, without accessing the cache. |
| 803 PassRefPtr<RenderStyle> uncachedFirstLineStyle(RenderStyle*) const; | 804 PassRefPtr<RenderStyle> uncachedFirstLineStyle(RenderStyle*) const; |
| 804 | 805 |
| 805 // Anonymous blocks that are part of of a continuation chain will return the
ir inline continuation's outline style instead. | 806 // Anonymous blocks that are part of of a continuation chain will return the
ir inline continuation's outline style instead. |
| 806 // This is typically only relevant when repainting. | 807 // This is typically only relevant when repainting. |
| 807 virtual RenderStyle* outlineStyleForRepaint() const { return style(); } | 808 virtual RenderStyle* outlineStyleForRepaint() const { return style(); } |
| 808 | 809 |
| 810 // Return LEFT, RIGHT, CENTER or JUSTIFY considering text alignment and dire
ction. |
| 811 // If a specific RootInlineBox is specified, it will be used to calculate th
e direction to be considered, |
| 812 // otherwise the default direction for the associated style will be used. |
| 813 ETextAlign simplifiedTextAlign(const ETextAlign&, const RootInlineBox* = 0)
const; |
| 814 |
| 809 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; | 815 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
| 810 | 816 |
| 811 void getTextDecorationColors(unsigned decorations, Color& underline, Color&
overline, Color& linethrough, bool quirksMode = false, bool firstlineStyle = fal
se); | 817 void getTextDecorationColors(unsigned decorations, Color& underline, Color&
overline, Color& linethrough, bool quirksMode = false, bool firstlineStyle = fal
se); |
| 812 | 818 |
| 813 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 | 819 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 |
| 814 // if painting is root-relative. This is the container that should be passed
to the 'forRepaint' | 820 // if painting is root-relative. This is the container that should be passed
to the 'forRepaint' |
| 815 // methods. | 821 // methods. |
| 816 RenderLayerModelObject* containerForRepaint() const; | 822 RenderLayerModelObject* containerForRepaint() const; |
| 817 // Actually do the repaint of rect r for this object which has been computed
in the coordinate space | 823 // Actually do the repaint of rect r for this object which has been computed
in the coordinate space |
| 818 // of repaintContainer. If repaintContainer is 0, repaint via the view. | 824 // of repaintContainer. If repaintContainer is 0, repaint via the view. |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1427 void showTree(const WebCore::RenderObject*); | 1433 void showTree(const WebCore::RenderObject*); |
| 1428 void showLineTree(const WebCore::RenderObject*); | 1434 void showLineTree(const WebCore::RenderObject*); |
| 1429 void showRenderTree(const WebCore::RenderObject* object1); | 1435 void showRenderTree(const WebCore::RenderObject* object1); |
| 1430 // We don't make object2 an optional parameter so that showRenderTree | 1436 // We don't make object2 an optional parameter so that showRenderTree |
| 1431 // can be called from gdb easily. | 1437 // can be called from gdb easily. |
| 1432 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1438 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1433 | 1439 |
| 1434 #endif | 1440 #endif |
| 1435 | 1441 |
| 1436 #endif // RenderObject_h | 1442 #endif // RenderObject_h |
| OLD | NEW |