| 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, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights 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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 String userAgent(const KURL&) const final; | 530 String userAgent(const KURL&) const final; |
| 531 void disableEval(const String& errorMessage) final; | 531 void disableEval(const String& errorMessage) final; |
| 532 | 532 |
| 533 CSSStyleSheet& elementSheet(); | 533 CSSStyleSheet& elementSheet(); |
| 534 | 534 |
| 535 virtual PassRefPtrWillBeRawPtr<DocumentParser> createParser(); | 535 virtual PassRefPtrWillBeRawPtr<DocumentParser> createParser(); |
| 536 DocumentParser* parser() const { return m_parser.get(); } | 536 DocumentParser* parser() const { return m_parser.get(); } |
| 537 ScriptableDocumentParser* scriptableDocumentParser() const; | 537 ScriptableDocumentParser* scriptableDocumentParser() const; |
| 538 | 538 |
| 539 bool printing() const { return m_printing; } | 539 bool printing() const { return m_printing; } |
| 540 void setPrinting(bool p) { m_printing = p; } | 540 void setPrinting(bool isPrinting) { m_printing = isPrinting; } |
| 541 bool wasPrinting() const { return m_wasPrinting; } |
| 541 | 542 |
| 542 bool paginatedForScreen() const { return m_paginatedForScreen; } | 543 bool paginatedForScreen() const { return m_paginatedForScreen; } |
| 543 void setPaginatedForScreen(bool p) { m_paginatedForScreen = p; } | 544 void setPaginatedForScreen(bool p) { m_paginatedForScreen = p; } |
| 544 | 545 |
| 545 bool paginated() const { return printing() || paginatedForScreen(); } | 546 bool paginated() const { return printing() || paginatedForScreen(); } |
| 546 | 547 |
| 547 enum CompatibilityMode { QuirksMode, LimitedQuirksMode, NoQuirksMode }; | 548 enum CompatibilityMode { QuirksMode, LimitedQuirksMode, NoQuirksMode }; |
| 548 | 549 |
| 549 void setCompatibilityMode(CompatibilityMode); | 550 void setCompatibilityMode(CompatibilityMode); |
| 550 CompatibilityMode compatibilityMode() const { return m_compatibilityMode; } | 551 CompatibilityMode compatibilityMode() const { return m_compatibilityMode; } |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 | 1189 |
| 1189 // Mime-type of the document in case it was cloned or created by XHR. | 1190 // Mime-type of the document in case it was cloned or created by XHR. |
| 1190 AtomicString m_mimeType; | 1191 AtomicString m_mimeType; |
| 1191 | 1192 |
| 1192 RefPtrWillBeMember<DocumentType> m_docType; | 1193 RefPtrWillBeMember<DocumentType> m_docType; |
| 1193 OwnPtrWillBeMember<DOMImplementation> m_implementation; | 1194 OwnPtrWillBeMember<DOMImplementation> m_implementation; |
| 1194 | 1195 |
| 1195 RefPtrWillBeMember<CSSStyleSheet> m_elemSheet; | 1196 RefPtrWillBeMember<CSSStyleSheet> m_elemSheet; |
| 1196 | 1197 |
| 1197 bool m_printing; | 1198 bool m_printing; |
| 1199 bool m_wasPrinting; |
| 1198 bool m_paginatedForScreen; | 1200 bool m_paginatedForScreen; |
| 1199 | 1201 |
| 1200 CompatibilityMode m_compatibilityMode; | 1202 CompatibilityMode m_compatibilityMode; |
| 1201 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. | 1203 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. |
| 1202 | 1204 |
| 1203 OwnPtr<CancellableTaskFactory> m_executeScriptsWaitingForResourcesTask; | 1205 OwnPtr<CancellableTaskFactory> m_executeScriptsWaitingForResourcesTask; |
| 1204 | 1206 |
| 1205 bool m_hasAutofocused; | 1207 bool m_hasAutofocused; |
| 1206 Timer<Document> m_clearFocusedElementTimer; | 1208 Timer<Document> m_clearFocusedElementTimer; |
| 1207 RefPtrWillBeMember<Element> m_autofocusElement; | 1209 RefPtrWillBeMember<Element> m_autofocusElement; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1436 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1435 | 1437 |
| 1436 } // namespace blink | 1438 } // namespace blink |
| 1437 | 1439 |
| 1438 #ifndef NDEBUG | 1440 #ifndef NDEBUG |
| 1439 // Outside the WebCore namespace for ease of invocation from gdb. | 1441 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1440 CORE_EXPORT void showLiveDocumentInstances(); | 1442 CORE_EXPORT void showLiveDocumentInstances(); |
| 1441 #endif | 1443 #endif |
| 1442 | 1444 |
| 1443 #endif // Document_h | 1445 #endif // Document_h |
| OLD | NEW |