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 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 bool m_writingModeSetOnDocumentElement; | 1404 bool m_writingModeSetOnDocumentElement; |
1405 | 1405 |
1406 DocumentTiming m_documentTiming; | 1406 DocumentTiming m_documentTiming; |
1407 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; | 1407 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; |
1408 bool m_writeRecursionIsTooDeep; | 1408 bool m_writeRecursionIsTooDeep; |
1409 unsigned m_writeRecursionDepth; | 1409 unsigned m_writeRecursionDepth; |
1410 | 1410 |
1411 unsigned m_wheelEventHandlerCount; | 1411 unsigned m_wheelEventHandlerCount; |
1412 | 1412 |
1413 #if ENABLE(REQUEST_ANIMATION_FRAME) | 1413 #if ENABLE(REQUEST_ANIMATION_FRAME) |
1414 OwnPtr<ScriptedAnimationController> m_scriptedAnimationController; | 1414 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; |
1415 #endif | 1415 #endif |
1416 }; | 1416 }; |
1417 | 1417 |
1418 // Put these methods here, because they require the Document definition, but we
really want to inline them. | 1418 // Put these methods here, because they require the Document definition, but we
really want to inline them. |
1419 | 1419 |
1420 inline bool Node::isDocumentNode() const | 1420 inline bool Node::isDocumentNode() const |
1421 { | 1421 { |
1422 return this == m_document; | 1422 return this == m_document; |
1423 } | 1423 } |
1424 | 1424 |
1425 inline Node::Node(Document* document, ConstructionType type) | 1425 inline Node::Node(Document* document, ConstructionType type) |
1426 : m_nodeFlags(type) | 1426 : m_nodeFlags(type) |
1427 , m_document(document) | 1427 , m_document(document) |
1428 , m_previous(0) | 1428 , m_previous(0) |
1429 , m_next(0) | 1429 , m_next(0) |
1430 , m_renderer(0) | 1430 , m_renderer(0) |
1431 { | 1431 { |
1432 if (m_document) | 1432 if (m_document) |
1433 m_document->guardRef(); | 1433 m_document->guardRef(); |
1434 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) | 1434 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) |
1435 trackForDebugging(); | 1435 trackForDebugging(); |
1436 #endif | 1436 #endif |
1437 } | 1437 } |
1438 | 1438 |
1439 } // namespace WebCore | 1439 } // namespace WebCore |
1440 | 1440 |
1441 #endif // Document_h | 1441 #endif // Document_h |
OLD | NEW |