| 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 bool hasMask() const { return style() && style()->hasMask(); } | 592 bool hasMask() const { return style() && style()->hasMask(); } |
| 593 bool hasClipPath() const { return style() && style()->clipPath(); } | 593 bool hasClipPath() const { return style() && style()->clipPath(); } |
| 594 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } | 594 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } |
| 595 | 595 |
| 596 #if ENABLE(CSS_FILTERS) | 596 #if ENABLE(CSS_FILTERS) |
| 597 bool hasFilter() const { return style() && style()->hasFilter(); } | 597 bool hasFilter() const { return style() && style()->hasFilter(); } |
| 598 #else | 598 #else |
| 599 bool hasFilter() const { return false; } | 599 bool hasFilter() const { return false; } |
| 600 #endif | 600 #endif |
| 601 | 601 |
| 602 #if ENABLE(CSS_COMPOSITING) | |
| 603 bool hasBlendMode() const { return style() && style()->hasBlendMode(); } | 602 bool hasBlendMode() const { return style() && style()->hasBlendMode(); } |
| 604 #else | |
| 605 bool hasBlendMode() const { return false; } | |
| 606 #endif | |
| 607 | 603 |
| 608 inline bool preservesNewline() const; | 604 inline bool preservesNewline() const; |
| 609 | 605 |
| 610 // The pseudo element style can be cached or uncached. Use the cached metho
d if the pseudo element doesn't respect | 606 // The pseudo element style can be cached or uncached. Use the cached metho
d if the pseudo element doesn't respect |
| 611 // any pseudo classes (and therefore has no concept of changing state). | 607 // any pseudo classes (and therefore has no concept of changing state). |
| 612 RenderStyle* getCachedPseudoStyle(PseudoId, RenderStyle* parentStyle = 0) co
nst; | 608 RenderStyle* getCachedPseudoStyle(PseudoId, RenderStyle* parentStyle = 0) co
nst; |
| 613 PassRefPtr<RenderStyle> getUncachedPseudoStyle(const PseudoStyleRequest&, Re
nderStyle* parentStyle = 0, RenderStyle* ownStyle = 0) const; | 609 PassRefPtr<RenderStyle> getUncachedPseudoStyle(const PseudoStyleRequest&, Re
nderStyle* parentStyle = 0, RenderStyle* ownStyle = 0) const; |
| 614 | 610 |
| 615 virtual void updateDragState(bool dragOn); | 611 virtual void updateDragState(bool dragOn); |
| 616 | 612 |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1340 // Outside the WebCore namespace for ease of invocation from gdb. | 1336 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1341 void showTree(const WebCore::RenderObject*); | 1337 void showTree(const WebCore::RenderObject*); |
| 1342 void showLineTree(const WebCore::RenderObject*); | 1338 void showLineTree(const WebCore::RenderObject*); |
| 1343 void showRenderTree(const WebCore::RenderObject* object1); | 1339 void showRenderTree(const WebCore::RenderObject* object1); |
| 1344 // We don't make object2 an optional parameter so that showRenderTree | 1340 // We don't make object2 an optional parameter so that showRenderTree |
| 1345 // can be called from gdb easily. | 1341 // can be called from gdb easily. |
| 1346 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1342 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1347 #endif | 1343 #endif |
| 1348 | 1344 |
| 1349 #endif // RenderObject_h | 1345 #endif // RenderObject_h |
| OLD | NEW |