| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 enum PageshowEventPersistence { | 76 enum PageshowEventPersistence { |
| 77 PageshowEventNotPersisted = 0, | 77 PageshowEventNotPersisted = 0, |
| 78 PageshowEventPersisted = 1 | 78 PageshowEventPersisted = 1 |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBackForw
ardList }; | 81 enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBackForw
ardList }; |
| 82 | 82 |
| 83 class LocalDOMWindow final : public RefCounted<LocalDOMWindow>, public EventTarg
etWithInlineData, public DOMWindowBase64, public FrameDestructionObserver, publi
c Supplementable<LocalDOMWindow>, public LifecycleContext<LocalDOMWindow> { | 83 class LocalDOMWindow final : public RefCounted<LocalDOMWindow>, public EventTarg
etWithInlineData, public DOMWindowBase64, public FrameDestructionObserver, publi
c Supplementable<LocalDOMWindow>, public LifecycleContext<LocalDOMWindow> { |
| 84 DEFINE_WRAPPERTYPEINFO(); | 84 DEFINE_WRAPPERTYPEINFO(); |
| 85 REFCOUNTED_EVENT_TARGET(LocalDOMWindow); | 85 REFCOUNTED_EVENT_TARGET(LocalDOMWindow); |
| 86 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalDOMWindow); | |
| 87 public: | 86 public: |
| 88 static PassRefPtr<LocalDOMWindow> create(LocalFrame& frame) | 87 static PassRefPtr<LocalDOMWindow> create(LocalFrame& frame) |
| 89 { | 88 { |
| 90 return adoptRef(new LocalDOMWindow(frame)); | 89 return adoptRef(new LocalDOMWindow(frame)); |
| 91 } | 90 } |
| 92 virtual ~LocalDOMWindow(); | 91 virtual ~LocalDOMWindow(); |
| 93 | 92 |
| 94 PassRefPtr<Document> installNewDocument(const DocumentInit&); | 93 PassRefPtr<Document> installNewDocument(const DocumentInit&); |
| 95 | 94 |
| 96 virtual const AtomicString& interfaceName() const override; | 95 virtual const AtomicString& interfaceName() const override; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 250 |
| 252 mutable RefPtr<DOMWindowCSS> m_css; | 251 mutable RefPtr<DOMWindowCSS> m_css; |
| 253 | 252 |
| 254 RefPtr<DOMWindowEventQueue> m_eventQueue; | 253 RefPtr<DOMWindowEventQueue> m_eventQueue; |
| 255 RefPtr<SerializedScriptValue> m_pendingStateObject; | 254 RefPtr<SerializedScriptValue> m_pendingStateObject; |
| 256 }; | 255 }; |
| 257 | 256 |
| 258 } // namespace blink | 257 } // namespace blink |
| 259 | 258 |
| 260 #endif // LocalDOMWindow_h | 259 #endif // LocalDOMWindow_h |
| OLD | NEW |