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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
466 AXObjectCache* existingAXObjectCache() const; | 466 AXObjectCache* existingAXObjectCache() const; |
467 AXObjectCache* axObjectCache() const; | 467 AXObjectCache* axObjectCache() const; |
468 void clearAXObjectCache(); | 468 void clearAXObjectCache(); |
469 | 469 |
470 // to get visually ordered hebrew and arabic pages right | 470 // to get visually ordered hebrew and arabic pages right |
471 bool visuallyOrdered() const { return m_visuallyOrdered; } | 471 bool visuallyOrdered() const { return m_visuallyOrdered; } |
472 | 472 |
473 DocumentLoader* loader() const; | 473 DocumentLoader* loader() const; |
474 | 474 |
475 // This is the DOM API document.open() | 475 // This is the DOM API document.open() |
476 void open(Document* ownerDocument, ExceptionState&); | 476 void open(Document* enteredDocument, ExceptionState&); |
philipj_slow
2016/01/29 08:39:18
Can you document what the enteredDocument is? The
jochen (gone - plz use gerrit)
2016/01/29 09:40:24
added a comment.
| |
477 // This is used internally and does not handle exceptions. | 477 // This is used internally and does not handle exceptions. |
478 void open(); | 478 void open(); |
479 PassRefPtrWillBeRawPtr<DocumentParser> implicitOpen(ParserSynchronizationPol icy); | 479 PassRefPtrWillBeRawPtr<DocumentParser> implicitOpen(ParserSynchronizationPol icy); |
480 | 480 |
481 // This is the DOM API document.close() | 481 // This is the DOM API document.close() |
482 void close(ExceptionState&); | 482 void close(ExceptionState&); |
483 // This is used internally and does not handle exceptions. | 483 // This is used internally and does not handle exceptions. |
484 void close(); | 484 void close(); |
485 // implicitClose() actually does the work of closing the input stream. | 485 // implicitClose() actually does the work of closing the input stream. |
486 void implicitClose(); | 486 void implicitClose(); |
487 | 487 |
488 bool dispatchBeforeUnloadEvent(ChromeClient&, bool isReload, bool& didAllowN avigation); | 488 bool dispatchBeforeUnloadEvent(ChromeClient&, bool isReload, bool& didAllowN avigation); |
489 void dispatchUnloadEvents(); | 489 void dispatchUnloadEvents(); |
490 | 490 |
491 enum PageDismissalType { | 491 enum PageDismissalType { |
492 NoDismissal = 0, | 492 NoDismissal = 0, |
493 BeforeUnloadDismissal = 1, | 493 BeforeUnloadDismissal = 1, |
494 PageHideDismissal = 2, | 494 PageHideDismissal = 2, |
495 UnloadDismissal = 3 | 495 UnloadDismissal = 3 |
496 }; | 496 }; |
497 PageDismissalType pageDismissalEventBeingDispatched() const; | 497 PageDismissalType pageDismissalEventBeingDispatched() const; |
498 | 498 |
499 void cancelParsing(); | 499 void cancelParsing(); |
500 | 500 |
501 void write(const SegmentedString& text, Document* ownerDocument = nullptr, E xceptionState& = ASSERT_NO_EXCEPTION); | 501 void write(const SegmentedString& text, Document* enteredDocument = nullptr, ExceptionState& = ASSERT_NO_EXCEPTION); |
502 void write(const String& text, Document* ownerDocument = nullptr, ExceptionS tate& = ASSERT_NO_EXCEPTION); | 502 void write(const String& text, Document* enteredDocument = nullptr, Exceptio nState& = ASSERT_NO_EXCEPTION); |
503 void writeln(const String& text, Document* ownerDocument = nullptr, Exceptio nState& = ASSERT_NO_EXCEPTION); | 503 void writeln(const String& text, Document* enteredDocument = nullptr, Except ionState& = ASSERT_NO_EXCEPTION); |
504 void write(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); | 504 void write(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); |
505 void writeln(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); | 505 void writeln(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); |
506 | 506 |
507 bool wellFormed() const { return m_wellFormed; } | 507 bool wellFormed() const { return m_wellFormed; } |
508 | 508 |
509 const KURL& url() const { return m_url; } | 509 const KURL& url() const { return m_url; } |
510 void setURL(const KURL&); | 510 void setURL(const KURL&); |
511 | 511 |
512 // To understand how these concepts relate to one another, please see the | 512 // To understand how these concepts relate to one another, please see the |
513 // comments surrounding their declaration. | 513 // comments surrounding their declaration. |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1452 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1452 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1453 | 1453 |
1454 } // namespace blink | 1454 } // namespace blink |
1455 | 1455 |
1456 #ifndef NDEBUG | 1456 #ifndef NDEBUG |
1457 // Outside the WebCore namespace for ease of invocation from gdb. | 1457 // Outside the WebCore namespace for ease of invocation from gdb. |
1458 CORE_EXPORT void showLiveDocumentInstances(); | 1458 CORE_EXPORT void showLiveDocumentInstances(); |
1459 #endif | 1459 #endif |
1460 | 1460 |
1461 #endif // Document_h | 1461 #endif // Document_h |
OLD | NEW |