| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 class RenderFlowThread; | 59 class RenderFlowThread; |
| 60 class RenderGeometryMap; | 60 class RenderGeometryMap; |
| 61 class RenderLayer; | 61 class RenderLayer; |
| 62 class RenderLayerModelObject; | 62 class RenderLayerModelObject; |
| 63 class RenderNamedFlowThread; | 63 class RenderNamedFlowThread; |
| 64 class RenderSVGResourceContainer; | 64 class RenderSVGResourceContainer; |
| 65 class RenderTable; | 65 class RenderTable; |
| 66 class RenderTheme; | 66 class RenderTheme; |
| 67 class RenderView; | 67 class RenderView; |
| 68 class ResourceLoadPriorityOptimizer; | 68 class ResourceLoadPriorityOptimizer; |
| 69 class RootInlineBox; |
| 69 class TransformState; | 70 class TransformState; |
| 70 | 71 |
| 71 struct PaintInfo; | 72 struct PaintInfo; |
| 72 | 73 |
| 73 enum CursorDirective { | 74 enum CursorDirective { |
| 74 SetCursorBasedOnStyle, | 75 SetCursorBasedOnStyle, |
| 75 SetCursor, | 76 SetCursor, |
| 76 DoNotSetCursor | 77 DoNotSetCursor |
| 77 }; | 78 }; |
| 78 | 79 |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 } | 780 } |
| 780 | 781 |
| 781 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a | 782 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a |
| 782 // given new style, without accessing the cache. | 783 // given new style, without accessing the cache. |
| 783 PassRefPtr<RenderStyle> uncachedFirstLineStyle(RenderStyle*) const; | 784 PassRefPtr<RenderStyle> uncachedFirstLineStyle(RenderStyle*) const; |
| 784 | 785 |
| 785 // Anonymous blocks that are part of of a continuation chain will return the
ir inline continuation's outline style instead. | 786 // Anonymous blocks that are part of of a continuation chain will return the
ir inline continuation's outline style instead. |
| 786 // This is typically only relevant when repainting. | 787 // This is typically only relevant when repainting. |
| 787 virtual RenderStyle* outlineStyleForRepaint() const { return style(); } | 788 virtual RenderStyle* outlineStyleForRepaint() const { return style(); } |
| 788 | 789 |
| 790 // Return LEFT, RIGHT, CENTER or JUSTIFY considering text alignment and dire
ction. |
| 791 // If a specific RootInlineBox is specified, it will be used to calculate th
e direction to be considered, |
| 792 // otherwise the default direction for the associated style will be used. |
| 793 ETextAlign simplifiedTextAlign(const ETextAlign&, const RootInlineBox* = 0)
const; |
| 794 |
| 789 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; | 795 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
| 790 | 796 |
| 791 void getTextDecorationColors(unsigned decorations, Color& underline, Color&
overline, Color& linethrough, bool quirksMode = false, bool firstlineStyle = fal
se); | 797 void getTextDecorationColors(unsigned decorations, Color& underline, Color&
overline, Color& linethrough, bool quirksMode = false, bool firstlineStyle = fal
se); |
| 792 | 798 |
| 793 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 | 799 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 |
| 794 // if painting is root-relative. This is the container that should be passed
to the 'forRepaint' | 800 // if painting is root-relative. This is the container that should be passed
to the 'forRepaint' |
| 795 // methods. | 801 // methods. |
| 796 RenderLayerModelObject* containerForRepaint() const; | 802 RenderLayerModelObject* containerForRepaint() const; |
| 797 // Actually do the repaint of rect r for this object which has been computed
in the coordinate space | 803 // Actually do the repaint of rect r for this object which has been computed
in the coordinate space |
| 798 // of repaintContainer. If repaintContainer is 0, repaint via the view. | 804 // of repaintContainer. If repaintContainer is 0, repaint via the view. |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1408 void showTree(const WebCore::RenderObject*); | 1414 void showTree(const WebCore::RenderObject*); |
| 1409 void showLineTree(const WebCore::RenderObject*); | 1415 void showLineTree(const WebCore::RenderObject*); |
| 1410 void showRenderTree(const WebCore::RenderObject* object1); | 1416 void showRenderTree(const WebCore::RenderObject* object1); |
| 1411 // We don't make object2 an optional parameter so that showRenderTree | 1417 // We don't make object2 an optional parameter so that showRenderTree |
| 1412 // can be called from gdb easily. | 1418 // can be called from gdb easily. |
| 1413 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1419 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1414 | 1420 |
| 1415 #endif | 1421 #endif |
| 1416 | 1422 |
| 1417 #endif // RenderObject_h | 1423 #endif // RenderObject_h |
| OLD | NEW |