| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef LocalDOMWindow_h | 27 #ifndef LocalDOMWindow_h |
| 28 #define LocalDOMWindow_h | 28 #define LocalDOMWindow_h |
| 29 | 29 |
| 30 #include "bindings/core/v8/Dictionary.h" | 30 #include "bindings/core/v8/Dictionary.h" |
| 31 #include "bindings/core/v8/SerializedScriptValue.h" |
| 31 #include "core/events/EventTarget.h" | 32 #include "core/events/EventTarget.h" |
| 32 #include "core/frame/DOMWindowBase64.h" | 33 #include "core/frame/DOMWindowBase64.h" |
| 33 #include "core/frame/FrameDestructionObserver.h" | 34 #include "core/frame/FrameDestructionObserver.h" |
| 34 #include "platform/LifecycleContext.h" | 35 #include "platform/LifecycleContext.h" |
| 35 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
| 36 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 37 #include "platform/scroll/ScrollableArea.h" | 38 #include "platform/scroll/ScrollableArea.h" |
| 38 | 39 |
| 39 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
| 40 | 41 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 57 class EventListener; | 58 class EventListener; |
| 58 class EventQueue; | 59 class EventQueue; |
| 59 class ExceptionState; | 60 class ExceptionState; |
| 60 class FloatRect; | 61 class FloatRect; |
| 61 class FrameConsole; | 62 class FrameConsole; |
| 62 class History; | 63 class History; |
| 63 class IDBFactory; | 64 class IDBFactory; |
| 64 class LocalFrame; | 65 class LocalFrame; |
| 65 class Location; | 66 class Location; |
| 66 class MediaQueryList; | 67 class MediaQueryList; |
| 67 class MessageEvent; | |
| 68 class Node; | 68 class Node; |
| 69 class Page; | 69 class Page; |
| 70 class RequestAnimationFrameCallback; | 70 class RequestAnimationFrameCallback; |
| 71 class ScheduledAction; | 71 class ScheduledAction; |
| 72 class Screen; | 72 class Screen; |
| 73 class ScriptCallStack; | 73 class ScriptCallStack; |
| 74 class SerializedScriptValue; | 74 class SerializedScriptValue; |
| 75 class StyleMedia; | 75 class StyleMedia; |
| 76 | 76 |
| 77 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray; | |
| 78 | |
| 79 enum PageshowEventPersistence { | 77 enum PageshowEventPersistence { |
| 80 PageshowEventNotPersisted = 0, | 78 PageshowEventNotPersisted = 0, |
| 81 PageshowEventPersisted = 1 | 79 PageshowEventPersisted = 1 |
| 82 }; | 80 }; |
| 83 | 81 |
| 84 enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBackForw
ardList }; | 82 enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBackForw
ardList }; |
| 85 | 83 |
| 86 class LocalDOMWindow FINAL : public RefCountedWillBeGarbageCollectedFinalized<Lo
calDOMWindow>, public EventTargetWithInlineData, public DOMWindowBase64, public
FrameDestructionObserver, public WillBeHeapSupplementable<LocalDOMWindow>, publi
c LifecycleContext<LocalDOMWindow> { | 84 class LocalDOMWindow FINAL : public RefCountedWillBeGarbageCollectedFinalized<Lo
calDOMWindow>, public EventTargetWithInlineData, public DOMWindowBase64, public
FrameDestructionObserver, public WillBeHeapSupplementable<LocalDOMWindow>, publi
c LifecycleContext<LocalDOMWindow> { |
| 87 DEFINE_WRAPPERTYPEINFO(); | 85 DEFINE_WRAPPERTYPEINFO(); |
| 88 REFCOUNTED_EVENT_TARGET(LocalDOMWindow); | 86 REFCOUNTED_EVENT_TARGET(LocalDOMWindow); |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 278 |
| 281 mutable RefPtrWillBeMember<DOMWindowCSS> m_css; | 279 mutable RefPtrWillBeMember<DOMWindowCSS> m_css; |
| 282 | 280 |
| 283 RefPtrWillBeMember<DOMWindowEventQueue> m_eventQueue; | 281 RefPtrWillBeMember<DOMWindowEventQueue> m_eventQueue; |
| 284 RefPtr<SerializedScriptValue> m_pendingStateObject; | 282 RefPtr<SerializedScriptValue> m_pendingStateObject; |
| 285 }; | 283 }; |
| 286 | 284 |
| 287 } // namespace blink | 285 } // namespace blink |
| 288 | 286 |
| 289 #endif // LocalDOMWindow_h | 287 #endif // LocalDOMWindow_h |
| OLD | NEW |