| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 7 * (http://www.torchmobile.com/) | 7 * (http://www.torchmobile.com/) |
| 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 void setHasName(bool f) { | 414 void setHasName(bool f) { |
| 415 DCHECK(!isTextNode()); | 415 DCHECK(!isTextNode()); |
| 416 setFlag(f, HasNameOrIsEditingTextFlag); | 416 setFlag(f, HasNameOrIsEditingTextFlag); |
| 417 } | 417 } |
| 418 void setChildNeedsStyleRecalc() { setFlag(ChildNeedsStyleRecalcFlag); } | 418 void setChildNeedsStyleRecalc() { setFlag(ChildNeedsStyleRecalcFlag); } |
| 419 void clearChildNeedsStyleRecalc() { clearFlag(ChildNeedsStyleRecalcFlag); } | 419 void clearChildNeedsStyleRecalc() { clearFlag(ChildNeedsStyleRecalcFlag); } |
| 420 | 420 |
| 421 void setNeedsStyleRecalc(StyleChangeType, const StyleChangeReasonForTracing&); | 421 void setNeedsStyleRecalc(StyleChangeType, const StyleChangeReasonForTracing&); |
| 422 void clearNeedsStyleRecalc(); | 422 void clearNeedsStyleRecalc(); |
| 423 | 423 |
| 424 bool needsReattachLayoutTree() { return getFlag(NeedsReattachLayoutTree); } | 424 bool needsReattachLayoutTree() const { |
| 425 bool childNeedsReattachLayoutTree() { | 425 return getFlag(NeedsReattachLayoutTree); |
| 426 } |
| 427 bool childNeedsReattachLayoutTree() const { |
| 426 return getFlag(ChildNeedsReattachLayoutTree); | 428 return getFlag(ChildNeedsReattachLayoutTree); |
| 427 } | 429 } |
| 428 | 430 |
| 429 void setNeedsReattachLayoutTree(); | 431 void setNeedsReattachLayoutTree(); |
| 430 void setChildNeedsReattachLayoutTree() { | 432 void setChildNeedsReattachLayoutTree() { |
| 431 setFlag(ChildNeedsReattachLayoutTree); | 433 setFlag(ChildNeedsReattachLayoutTree); |
| 432 } | 434 } |
| 433 | 435 |
| 434 void clearNeedsReattachLayoutTree() { clearFlag(NeedsReattachLayoutTree); } | 436 void clearNeedsReattachLayoutTree() { clearFlag(NeedsReattachLayoutTree); } |
| 435 void clearChildNeedsReattachLayoutTree() { | 437 void clearChildNeedsReattachLayoutTree() { |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 } // namespace blink | 1018 } // namespace blink |
| 1017 | 1019 |
| 1018 #ifndef NDEBUG | 1020 #ifndef NDEBUG |
| 1019 // Outside the WebCore namespace for ease of invocation from gdb. | 1021 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1020 void showNode(const blink::Node*); | 1022 void showNode(const blink::Node*); |
| 1021 void showTree(const blink::Node*); | 1023 void showTree(const blink::Node*); |
| 1022 void showNodePath(const blink::Node*); | 1024 void showNodePath(const blink::Node*); |
| 1023 #endif | 1025 #endif |
| 1024 | 1026 |
| 1025 #endif // Node_h | 1027 #endif // Node_h |
| OLD | NEW |