| 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 virtual void imageChanged(ImageResource*, const IntRect* = 0) OVERRIDE FINAL
; | 942 virtual void imageChanged(ImageResource*, const IntRect* = 0) OVERRIDE FINAL
; |
| 943 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } | 943 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } |
| 944 virtual bool willRenderImage(ImageResource*) OVERRIDE FINAL; | 944 virtual bool willRenderImage(ImageResource*) OVERRIDE FINAL; |
| 945 | 945 |
| 946 void selectionStartEnd(int& spos, int& epos) const; | 946 void selectionStartEnd(int& spos, int& epos) const; |
| 947 | 947 |
| 948 void remove() { if (parent()) parent()->removeChild(this); } | 948 void remove() { if (parent()) parent()->removeChild(this); } |
| 949 | 949 |
| 950 bool isInert() const; | 950 bool isInert() const; |
| 951 | 951 |
| 952 bool visibleForTouchAction() const; | 952 bool supportsTouchAction() const; |
| 953 | 953 |
| 954 bool visibleToHitTestRequest(const HitTestRequest& request) const | 954 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s
tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style()
->pointerEvents() != PE_NONE) && !isInert(); } |
| 955 { | |
| 956 if (request.touchAction() && !visibleForTouchAction()) | |
| 957 return false; | |
| 958 return style()->visibility() == VISIBLE && (request.ignorePointerEventsN
one() || style()->pointerEvents() != PE_NONE) && !isInert(); | |
| 959 } | |
| 960 | 955 |
| 961 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } | 956 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE &
& style()->pointerEvents() != PE_NONE && !isInert(); } |
| 962 | 957 |
| 963 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use | 958 // Map points and quads through elements, potentially via 3d transforms. You
should never need to call these directly; use |
| 964 // localToAbsolute/absoluteToLocal methods instead. | 959 // localToAbsolute/absoluteToLocal methods instead. |
| 965 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const; | 960 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const; |
| 966 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 961 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 967 | 962 |
| 968 // Pushes state onto RenderGeometryMap about how to map coordinates from thi
s renderer to its container, or ancestorToStopAt (whichever is encountered first
). | 963 // Pushes state onto RenderGeometryMap about how to map coordinates from thi
s renderer to its container, or ancestorToStopAt (whichever is encountered first
). |
| 969 // Returns the renderer which was mapped to (container or ancestorToStopAt). | 964 // Returns the renderer which was mapped to (container or ancestorToStopAt). |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1487 void showTree(const WebCore::RenderObject*); | 1482 void showTree(const WebCore::RenderObject*); |
| 1488 void showLineTree(const WebCore::RenderObject*); | 1483 void showLineTree(const WebCore::RenderObject*); |
| 1489 void showRenderTree(const WebCore::RenderObject* object1); | 1484 void showRenderTree(const WebCore::RenderObject* object1); |
| 1490 // We don't make object2 an optional parameter so that showRenderTree | 1485 // We don't make object2 an optional parameter so that showRenderTree |
| 1491 // can be called from gdb easily. | 1486 // can be called from gdb easily. |
| 1492 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1487 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1493 | 1488 |
| 1494 #endif | 1489 #endif |
| 1495 | 1490 |
| 1496 #endif // RenderObject_h | 1491 #endif // RenderObject_h |
| OLD | NEW |