| 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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 void initSecurityContext(const DocumentInit&); | 883 void initSecurityContext(const DocumentInit&); |
| 884 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&); | 884 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&); |
| 885 | 885 |
| 886 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR
L, const WTF::OrdinalNumber& contextLine); | 886 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR
L, const WTF::OrdinalNumber& contextLine); |
| 887 bool allowExecutingScripts(Node*); | 887 bool allowExecutingScripts(Node*); |
| 888 | 888 |
| 889 void statePopped(PassRefPtr<SerializedScriptValue>); | 889 void statePopped(PassRefPtr<SerializedScriptValue>); |
| 890 | 890 |
| 891 enum LoadEventProgress { | 891 enum LoadEventProgress { |
| 892 LoadEventNotRun, | 892 LoadEventNotRun, |
| 893 LoadEventTried, | |
| 894 LoadEventInProgress, | 893 LoadEventInProgress, |
| 895 LoadEventCompleted, | 894 LoadEventCompleted, |
| 896 BeforeUnloadEventInProgress, | 895 BeforeUnloadEventInProgress, |
| 897 BeforeUnloadEventCompleted, | 896 BeforeUnloadEventCompleted, |
| 898 PageHideInProgress, | 897 PageHideInProgress, |
| 899 UnloadEventInProgress, | 898 UnloadEventInProgress, |
| 900 UnloadEventHandled | 899 UnloadEventHandled |
| 901 }; | 900 }; |
| 902 bool loadEventStillNeeded() const { return m_loadEventProgress == LoadEventN
otRun; } | 901 bool loadEventStillNeeded() const { return m_loadEventProgress == LoadEventN
otRun; } |
| 903 bool processingLoadEvent() const { return m_loadEventProgress == LoadEventIn
Progress; } | 902 bool processingLoadEvent() const { return m_loadEventProgress == LoadEventIn
Progress; } |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1414 Node* eventTargetNodeForDocument(Document*); | 1413 Node* eventTargetNodeForDocument(Document*); |
| 1415 | 1414 |
| 1416 } // namespace blink | 1415 } // namespace blink |
| 1417 | 1416 |
| 1418 #ifndef NDEBUG | 1417 #ifndef NDEBUG |
| 1419 // Outside the WebCore namespace for ease of invocation from gdb. | 1418 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1420 void showLiveDocumentInstances(); | 1419 void showLiveDocumentInstances(); |
| 1421 #endif | 1420 #endif |
| 1422 | 1421 |
| 1423 #endif // Document_h | 1422 #endif // Document_h |
| OLD | NEW |