| 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. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 } | 450 } |
| 451 ASSERT_NOT_REACHED(); | 451 ASSERT_NOT_REACHED(); |
| 452 return false; | 452 return false; |
| 453 } | 453 } |
| 454 | 454 |
| 455 virtual LayoutRect boundingBox() const; | 455 virtual LayoutRect boundingBox() const; |
| 456 IntRect pixelSnappedBoundingBox() const { return pixelSnappedIntRect(boundin
gBox()); } | 456 IntRect pixelSnappedBoundingBox() const { return pixelSnappedIntRect(boundin
gBox()); } |
| 457 | 457 |
| 458 unsigned nodeIndex() const; | 458 unsigned nodeIndex() const; |
| 459 | 459 |
| 460 bool isConnected() const; |
| 461 |
| 460 // Returns the DOM ownerDocument attribute. This method never returns null,
except in the case | 462 // Returns the DOM ownerDocument attribute. This method never returns null,
except in the case |
| 461 // of a Document node. | 463 // of a Document node. |
| 462 Document* ownerDocument() const; | 464 Document* ownerDocument() const; |
| 463 | 465 |
| 464 // Returns the document associated with this node. A Document node returns i
tself. | 466 // Returns the document associated with this node. A Document node returns i
tself. |
| 465 Document& document() const | 467 Document& document() const |
| 466 { | 468 { |
| 467 return treeScope().document(); | 469 return treeScope().document(); |
| 468 } | 470 } |
| 469 | 471 |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 } // namespace blink | 926 } // namespace blink |
| 925 | 927 |
| 926 #ifndef NDEBUG | 928 #ifndef NDEBUG |
| 927 // Outside the WebCore namespace for ease of invocation from gdb. | 929 // Outside the WebCore namespace for ease of invocation from gdb. |
| 928 void showNode(const blink::Node*); | 930 void showNode(const blink::Node*); |
| 929 void showTree(const blink::Node*); | 931 void showTree(const blink::Node*); |
| 930 void showNodePath(const blink::Node*); | 932 void showNodePath(const blink::Node*); |
| 931 #endif | 933 #endif |
| 932 | 934 |
| 933 #endif // Node_h | 935 #endif // Node_h |
| OLD | NEW |