| 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 virtual void imageChanged(CachedImage*, const IntRect* = 0); | 934 virtual void imageChanged(CachedImage*, const IntRect* = 0); |
| 935 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } | 935 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } |
| 936 virtual bool willRenderImage(CachedImage*); | 936 virtual bool willRenderImage(CachedImage*); |
| 937 | 937 |
| 938 void selectionStartEnd(int& spos, int& epos) const; | 938 void selectionStartEnd(int& spos, int& epos) const; |
| 939 | 939 |
| 940 void remove() { if (parent()) parent()->removeChild(this); } | 940 void remove() { if (parent()) parent()->removeChild(this); } |
| 941 | 941 |
| 942 AnimationController* animation() const; | 942 AnimationController* animation() const; |
| 943 | 943 |
| 944 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s
tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style()
->pointerEvents() != PE_NONE); } |
| 944 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE; } | 945 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE; } |
| 945 | 946 |
| 946 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use | 947 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use |
| 947 // localToAbsolute/absoluteToLocal methods instead. | 948 // localToAbsolute/absoluteToLocal methods instead. |
| 948 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const; | 949 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const; |
| 949 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 950 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 950 | 951 |
| 951 // Pushes state onto RenderGeometryMap about how to map coordinates from thi
s renderer to its container, or ancestorToStopAt (whichever is encountered first
). | 952 // Pushes state onto RenderGeometryMap about how to map coordinates from thi
s renderer to its container, or ancestorToStopAt (whichever is encountered first
). |
| 952 // Returns the renderer which was mapped to (container or ancestorToStopAt). | 953 // Returns the renderer which was mapped to (container or ancestorToStopAt). |
| 953 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const; | 954 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const; |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1340 // Outside the WebCore namespace for ease of invocation from gdb. | 1341 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1341 void showTree(const WebCore::RenderObject*); | 1342 void showTree(const WebCore::RenderObject*); |
| 1342 void showLineTree(const WebCore::RenderObject*); | 1343 void showLineTree(const WebCore::RenderObject*); |
| 1343 void showRenderTree(const WebCore::RenderObject* object1); | 1344 void showRenderTree(const WebCore::RenderObject* object1); |
| 1344 // We don't make object2 an optional parameter so that showRenderTree | 1345 // We don't make object2 an optional parameter so that showRenderTree |
| 1345 // can be called from gdb easily. | 1346 // can be called from gdb easily. |
| 1346 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1347 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1347 #endif | 1348 #endif |
| 1348 | 1349 |
| 1349 #endif // RenderObject_h | 1350 #endif // RenderObject_h |
| OLD | NEW |