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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 void open(); | 490 void open(); |
491 DocumentParser* implicitOpen(ParserSynchronizationPolicy); | 491 DocumentParser* implicitOpen(ParserSynchronizationPolicy); |
492 | 492 |
493 // This is the DOM API document.close() | 493 // This is the DOM API document.close() |
494 void close(ExceptionState&); | 494 void close(ExceptionState&); |
495 // This is used internally and does not handle exceptions. | 495 // This is used internally and does not handle exceptions. |
496 void close(); | 496 void close(); |
497 // implicitClose() actually does the work of closing the input stream. | 497 // implicitClose() actually does the work of closing the input stream. |
498 void implicitClose(); | 498 void implicitClose(); |
499 | 499 |
500 bool dispatchBeforeUnloadEvent(ChromeClient&, bool isReload, bool& didAllowN
avigation); | 500 bool dispatchBeforeUnloadEvent(ChromeClient&, bool isReload, bool& didAllowN
avigation, bool& eventListenerCalled); |
501 void dispatchUnloadEvents(); | 501 void dispatchUnloadEvents(); |
502 | 502 |
503 enum PageDismissalType { | 503 enum PageDismissalType { |
504 NoDismissal, | 504 NoDismissal, |
505 BeforeUnloadDismissal, | 505 BeforeUnloadDismissal, |
506 PageHideDismissal, | 506 PageHideDismissal, |
507 UnloadVisibilityChangeDismissal, | 507 UnloadVisibilityChangeDismissal, |
508 UnloadDismissal | 508 UnloadDismissal |
509 }; | 509 }; |
510 PageDismissalType pageDismissalEventBeingDispatched() const; | 510 PageDismissalType pageDismissalEventBeingDispatched() const; |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1458 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1459 | 1459 |
1460 } // namespace blink | 1460 } // namespace blink |
1461 | 1461 |
1462 #ifndef NDEBUG | 1462 #ifndef NDEBUG |
1463 // Outside the WebCore namespace for ease of invocation from gdb. | 1463 // Outside the WebCore namespace for ease of invocation from gdb. |
1464 CORE_EXPORT void showLiveDocumentInstances(); | 1464 CORE_EXPORT void showLiveDocumentInstances(); |
1465 #endif | 1465 #endif |
1466 | 1466 |
1467 #endif // Document_h | 1467 #endif // Document_h |
OLD | NEW |