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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 | 867 |
868 void statePopped(PassRefPtr<SerializedScriptValue>); | 868 void statePopped(PassRefPtr<SerializedScriptValue>); |
869 | 869 |
870 enum LoadEventProgress { | 870 enum LoadEventProgress { |
871 LoadEventNotRun, | 871 LoadEventNotRun, |
872 LoadEventInProgress, | 872 LoadEventInProgress, |
873 LoadEventCompleted, | 873 LoadEventCompleted, |
874 BeforeUnloadEventInProgress, | 874 BeforeUnloadEventInProgress, |
875 BeforeUnloadEventCompleted, | 875 BeforeUnloadEventCompleted, |
876 PageHideInProgress, | 876 PageHideInProgress, |
| 877 UnloadVisibilityChangeInProgress, |
877 UnloadEventInProgress, | 878 UnloadEventInProgress, |
878 UnloadEventHandled | 879 UnloadEventHandled |
879 }; | 880 }; |
880 bool loadEventStillNeeded() const { return m_loadEventProgress == LoadEventN
otRun; } | 881 bool loadEventStillNeeded() const { return m_loadEventProgress == LoadEventN
otRun; } |
881 bool processingLoadEvent() const { return m_loadEventProgress == LoadEventIn
Progress; } | 882 bool processingLoadEvent() const { return m_loadEventProgress == LoadEventIn
Progress; } |
882 bool loadEventFinished() const { return m_loadEventProgress >= LoadEventComp
leted; } | 883 bool loadEventFinished() const { return m_loadEventProgress >= LoadEventComp
leted; } |
883 bool unloadStarted() const { return m_loadEventProgress >= PageHideInProgres
s; } | 884 bool unloadStarted() const { return m_loadEventProgress >= PageHideInProgres
s; } |
884 bool processingBeforeUnload() const { return m_loadEventProgress == BeforeUn
loadEventInProgress; } | 885 bool processingBeforeUnload() const { return m_loadEventProgress == BeforeUn
loadEventInProgress; } |
885 void suppressLoadEvent(); | 886 void suppressLoadEvent(); |
886 | 887 |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1449 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1450 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1450 | 1451 |
1451 } // namespace blink | 1452 } // namespace blink |
1452 | 1453 |
1453 #ifndef NDEBUG | 1454 #ifndef NDEBUG |
1454 // Outside the WebCore namespace for ease of invocation from gdb. | 1455 // Outside the WebCore namespace for ease of invocation from gdb. |
1455 CORE_EXPORT void showLiveDocumentInstances(); | 1456 CORE_EXPORT void showLiveDocumentInstances(); |
1456 #endif | 1457 #endif |
1457 | 1458 |
1458 #endif // Document_h | 1459 #endif // Document_h |
OLD | NEW |