| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // Active objects can be asked to suspend even if canSuspendActiveDOMObj
ects() returns 'false' - | 100 // Active objects can be asked to suspend even if canSuspendActiveDOMObj
ects() returns 'false' - |
| 101 // step-by-step JS debugging is one example. | 101 // step-by-step JS debugging is one example. |
| 102 void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension); | 102 void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension); |
| 103 void resumeActiveDOMObjects(); | 103 void resumeActiveDOMObjects(); |
| 104 void stopActiveDOMObjects(); | 104 void stopActiveDOMObjects(); |
| 105 void createdActiveDOMObject(ActiveDOMObject*, void* upcastPointer); | 105 void createdActiveDOMObject(ActiveDOMObject*, void* upcastPointer); |
| 106 void destroyedActiveDOMObject(ActiveDOMObject*); | 106 void destroyedActiveDOMObject(ActiveDOMObject*); |
| 107 typedef const HashMap<ActiveDOMObject*, void*> ActiveDOMObjectsMap; | 107 typedef const HashMap<ActiveDOMObject*, void*> ActiveDOMObjectsMap; |
| 108 ActiveDOMObjectsMap& activeDOMObjects() const { return m_activeDOMObject
s; } | 108 ActiveDOMObjectsMap& activeDOMObjects() const { return m_activeDOMObject
s; } |
| 109 | 109 |
| 110 virtual void suspendScriptedAnimationControllerCallbacks() { } |
| 111 virtual void resumeScriptedAnimationControllerCallbacks() { } |
| 112 |
| 110 // MessagePort is conceptually a kind of ActiveDOMObject, but it needs t
o be tracked separately for message dispatch. | 113 // MessagePort is conceptually a kind of ActiveDOMObject, but it needs t
o be tracked separately for message dispatch. |
| 111 void processMessagePortMessagesSoon(); | 114 void processMessagePortMessagesSoon(); |
| 112 void dispatchMessagePortEvents(); | 115 void dispatchMessagePortEvents(); |
| 113 void createdMessagePort(MessagePort*); | 116 void createdMessagePort(MessagePort*); |
| 114 void destroyedMessagePort(MessagePort*); | 117 void destroyedMessagePort(MessagePort*); |
| 115 const HashSet<MessagePort*>& messagePorts() const { return m_messagePort
s; } | 118 const HashSet<MessagePort*>& messagePorts() const { return m_messagePort
s; } |
| 116 | 119 |
| 117 #if ENABLE(BLOB) | 120 #if ENABLE(BLOB) |
| 118 void createdDomUrl(DOMURL*); | 121 void createdDomUrl(DOMURL*); |
| 119 void destroyedDomUrl(DOMURL*); | 122 void destroyedDomUrl(DOMURL*); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 198 |
| 196 #if ENABLE(BLOB) || ENABLE(FILE_SYSTEM) | 199 #if ENABLE(BLOB) || ENABLE(FILE_SYSTEM) |
| 197 RefPtr<FileThread> m_fileThread; | 200 RefPtr<FileThread> m_fileThread; |
| 198 #endif | 201 #endif |
| 199 }; | 202 }; |
| 200 | 203 |
| 201 } // namespace WebCore | 204 } // namespace WebCore |
| 202 | 205 |
| 203 | 206 |
| 204 #endif // ScriptExecutionContext_h | 207 #endif // ScriptExecutionContext_h |
| OLD | NEW |