Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Side by Side Diff: Source/WebCore/dom/Document.h

Issue 7147018: Merge 87756 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/WebCore/bindings/ScriptControllerBase.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 RenderView* renderView() const; 546 RenderView* renderView() const;
547 547
548 void clearAXObjectCache(); 548 void clearAXObjectCache();
549 AXObjectCache* axObjectCache() const; 549 AXObjectCache* axObjectCache() const;
550 bool axObjectCacheExists() const; 550 bool axObjectCacheExists() const;
551 551
552 // to get visually ordered hebrew and arabic pages right 552 // to get visually ordered hebrew and arabic pages right
553 void setVisuallyOrdered(); 553 void setVisuallyOrdered();
554 bool visuallyOrdered() const { return m_visuallyOrdered; } 554 bool visuallyOrdered() const { return m_visuallyOrdered; }
555 555
556 void setDocumentLoader(DocumentLoader* documentLoader) { m_documentLoader = documentLoader; } 556 DocumentLoader* loader() const;
557 DocumentLoader* loader() const { return m_documentLoader; }
558 557
559 void open(Document* ownerDocument = 0); 558 void open(Document* ownerDocument = 0);
560 void implicitOpen(); 559 void implicitOpen();
561 560
562 // close() is the DOM API document.close() 561 // close() is the DOM API document.close()
563 void close(); 562 void close();
564 // In some situations (see the code), we ignore document.close(). 563 // In some situations (see the code), we ignore document.close().
565 // explicitClose() bypass these checks and actually tries to close the 564 // explicitClose() bypass these checks and actually tries to close the
566 // input stream. 565 // input stream.
567 void explicitClose(); 566 void explicitClose();
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 1135
1137 int m_guardRefCount; 1136 int m_guardRefCount;
1138 1137
1139 OwnPtr<CSSStyleSelector> m_styleSelector; 1138 OwnPtr<CSSStyleSelector> m_styleSelector;
1140 bool m_didCalculateStyleSelector; 1139 bool m_didCalculateStyleSelector;
1141 bool m_hasDirtyStyleSelector; 1140 bool m_hasDirtyStyleSelector;
1142 1141
1143 mutable RefPtr<CSSPrimitiveValueCache> m_cssPrimitiveValueCache; 1142 mutable RefPtr<CSSPrimitiveValueCache> m_cssPrimitiveValueCache;
1144 1143
1145 Frame* m_frame; 1144 Frame* m_frame;
1146 DocumentLoader* m_documentLoader;
1147 OwnPtr<CachedResourceLoader> m_cachedResourceLoader; 1145 OwnPtr<CachedResourceLoader> m_cachedResourceLoader;
1148 RefPtr<DocumentParser> m_parser; 1146 RefPtr<DocumentParser> m_parser;
1149 bool m_wellFormed; 1147 bool m_wellFormed;
1150 1148
1151 // Document URLs. 1149 // Document URLs.
1152 KURL m_url; // Document.URL: The URL from which this document was retrieved. 1150 KURL m_url; // Document.URL: The URL from which this document was retrieved.
1153 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs . 1151 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs .
1154 KURL m_baseElementURL; // The URL set by the <base> element. 1152 KURL m_baseElementURL; // The URL set by the <base> element.
1155 KURL m_cookieURL; // The URL to use for cookie access. 1153 KURL m_cookieURL; // The URL to use for cookie access.
1156 KURL m_firstPartyForCookies; // The policy URL for third-party cookie blocki ng. 1154 KURL m_firstPartyForCookies; // The policy URL for third-party cookie blocki ng.
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 if (m_document) 1403 if (m_document)
1406 m_document->guardRef(); 1404 m_document->guardRef();
1407 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) 1405 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS)
1408 trackForDebugging(); 1406 trackForDebugging();
1409 #endif 1407 #endif
1410 } 1408 }
1411 1409
1412 } // namespace WebCore 1410 } // namespace WebCore
1413 1411
1414 #endif // Document_h 1412 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/WebCore/bindings/ScriptControllerBase.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698