| 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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 virtual void imageChanged(CachedImage*, const IntRect* = 0); | 912 virtual void imageChanged(CachedImage*, const IntRect* = 0); |
| 913 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } | 913 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } |
| 914 virtual bool willRenderImage(CachedImage*); | 914 virtual bool willRenderImage(CachedImage*); |
| 915 | 915 |
| 916 void selectionStartEnd(int& spos, int& epos) const; | 916 void selectionStartEnd(int& spos, int& epos) const; |
| 917 | 917 |
| 918 void remove() { if (parent()) parent()->removeChild(this); } | 918 void remove() { if (parent()) parent()->removeChild(this); } |
| 919 | 919 |
| 920 AnimationController* animation() const; | 920 AnimationController* animation() const; |
| 921 | 921 |
| 922 bool isInert() const { return node() && node()->isElementNode() && toElement
(node())->isInert(); } | 922 bool isInert() const; |
| 923 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s
tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style()
->pointerEvents() != PE_NONE) && !isInert(); } | 923 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s
tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style()
->pointerEvents() != PE_NONE) && !isInert(); } |
| 924 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } | 924 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } |
| 925 | 925 |
| 926 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use | 926 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use |
| 927 // localToAbsolute/absoluteToLocal methods instead. | 927 // localToAbsolute/absoluteToLocal methods instead. |
| 928 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const; | 928 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const; |
| 929 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 929 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 930 | 930 |
| 931 // Pushes state onto RenderGeometryMap about how to map coordinates from thi
s renderer to its container, or ancestorToStopAt (whichever is encountered first
). | 931 // Pushes state onto RenderGeometryMap about how to map coordinates from thi
s renderer to its container, or ancestorToStopAt (whichever is encountered first
). |
| 932 // Returns the renderer which was mapped to (container or ancestorToStopAt). | 932 // Returns the renderer which was mapped to (container or ancestorToStopAt). |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1316 // Outside the WebCore namespace for ease of invocation from gdb. | 1316 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1317 void showTree(const WebCore::RenderObject*); | 1317 void showTree(const WebCore::RenderObject*); |
| 1318 void showLineTree(const WebCore::RenderObject*); | 1318 void showLineTree(const WebCore::RenderObject*); |
| 1319 void showRenderTree(const WebCore::RenderObject* object1); | 1319 void showRenderTree(const WebCore::RenderObject* object1); |
| 1320 // We don't make object2 an optional parameter so that showRenderTree | 1320 // We don't make object2 an optional parameter so that showRenderTree |
| 1321 // can be called from gdb easily. | 1321 // can be called from gdb easily. |
| 1322 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1322 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1323 #endif | 1323 #endif |
| 1324 | 1324 |
| 1325 #endif // RenderObject_h | 1325 #endif // RenderObject_h |
| OLD | NEW |