| 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1424 bool m_writingModeSetOnDocumentElement; | 1424 bool m_writingModeSetOnDocumentElement; |
| 1425 | 1425 |
| 1426 DocumentTiming m_documentTiming; | 1426 DocumentTiming m_documentTiming; |
| 1427 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; | 1427 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; |
| 1428 bool m_writeRecursionIsTooDeep; | 1428 bool m_writeRecursionIsTooDeep; |
| 1429 unsigned m_writeRecursionDepth; | 1429 unsigned m_writeRecursionDepth; |
| 1430 | 1430 |
| 1431 unsigned m_wheelEventHandlerCount; | 1431 unsigned m_wheelEventHandlerCount; |
| 1432 | 1432 |
| 1433 #if ENABLE(REQUEST_ANIMATION_FRAME) | 1433 #if ENABLE(REQUEST_ANIMATION_FRAME) |
| 1434 OwnPtr<ScriptedAnimationController> m_scriptedAnimationController; | 1434 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; |
| 1435 #endif | 1435 #endif |
| 1436 }; | 1436 }; |
| 1437 | 1437 |
| 1438 // Put these methods here, because they require the Document definition, but we
really want to inline them. | 1438 // Put these methods here, because they require the Document definition, but we
really want to inline them. |
| 1439 | 1439 |
| 1440 inline bool Node::isDocumentNode() const | 1440 inline bool Node::isDocumentNode() const |
| 1441 { | 1441 { |
| 1442 return this == m_document; | 1442 return this == m_document; |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 inline Node::Node(Document* document, ConstructionType type) | 1445 inline Node::Node(Document* document, ConstructionType type) |
| 1446 : m_nodeFlags(type) | 1446 : m_nodeFlags(type) |
| 1447 , m_document(document) | 1447 , m_document(document) |
| 1448 , m_previous(0) | 1448 , m_previous(0) |
| 1449 , m_next(0) | 1449 , m_next(0) |
| 1450 , m_renderer(0) | 1450 , m_renderer(0) |
| 1451 { | 1451 { |
| 1452 if (m_document) | 1452 if (m_document) |
| 1453 m_document->guardRef(); | 1453 m_document->guardRef(); |
| 1454 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) | 1454 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) |
| 1455 trackForDebugging(); | 1455 trackForDebugging(); |
| 1456 #endif | 1456 #endif |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 } // namespace WebCore | 1459 } // namespace WebCore |
| 1460 | 1460 |
| 1461 #endif // Document_h | 1461 #endif // Document_h |
| OLD | NEW |