| 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  * |     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 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1012  |  1012  | 
|  1013     bool writeDisabled() const { return m_writeDisabled; } |  1013     bool writeDisabled() const { return m_writeDisabled; } | 
|  1014     void setWriteDisabled(bool flag) { m_writeDisabled = flag; } |  1014     void setWriteDisabled(bool flag) { m_writeDisabled = flag; } | 
|  1015  |  1015  | 
|  1016     // Used to allow element that loads data without going through a FrameLoader
       to delay the 'load' event. |  1016     // Used to allow element that loads data without going through a FrameLoader
       to delay the 'load' event. | 
|  1017     void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } |  1017     void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } | 
|  1018     void decrementLoadEventDelayCount(); |  1018     void decrementLoadEventDelayCount(); | 
|  1019     bool isDelayingLoadEvent() const { return m_loadEventDelayCount; } |  1019     bool isDelayingLoadEvent() const { return m_loadEventDelayCount; } | 
|  1020  |  1020  | 
|  1021 protected: |  1021 protected: | 
|  1022     Document(Frame*, const KURL&, bool isXHTML, bool isHTML); |  1022     Document(Frame*, const KURL& url, bool isXHTML, bool isHTML, const KURL& bas
      eURL = KURL()); | 
|  1023  |  1023  | 
|  1024     void clearXMLVersion() { m_xmlVersion = String(); } |  1024     void clearXMLVersion() { m_xmlVersion = String(); } | 
|  1025  |  1025  | 
|  1026 private: |  1026 private: | 
|  1027     void detachParser(); |  1027     void detachParser(); | 
|  1028  |  1028  | 
|  1029     typedef void (*ArgumentsCallback)(const String& keyString, const String& val
      ueString, Document*, void* data); |  1029     typedef void (*ArgumentsCallback)(const String& keyString, const String& val
      ueString, Document*, void* data); | 
|  1030     void processArguments(const String& features, void* data, ArgumentsCallback)
      ; |  1030     void processArguments(const String& features, void* data, ArgumentsCallback)
      ; | 
|  1031  |  1031  | 
|  1032     virtual bool isDocument() const { return true; } |  1032     virtual bool isDocument() const { return true; } | 
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1327     if (m_document) |  1327     if (m_document) | 
|  1328         m_document->selfOnlyRef(); |  1328         m_document->selfOnlyRef(); | 
|  1329 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) |  1329 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) | 
|  1330     trackForDebugging(); |  1330     trackForDebugging(); | 
|  1331 #endif |  1331 #endif | 
|  1332 } |  1332 } | 
|  1333  |  1333  | 
|  1334 } // namespace WebCore |  1334 } // namespace WebCore | 
|  1335  |  1335  | 
|  1336 #endif // Document_h |  1336 #endif // Document_h | 
| OLD | NEW |