| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/frame/LocalFrame.h" | 33 #include "core/frame/LocalFrame.h" |
| 34 #include "core/frame/LocalFrameLifecycleObserver.h" | 34 #include "core/frame/LocalFrameLifecycleObserver.h" |
| 35 #include "platform/Supplementable.h" | 35 #include "platform/Supplementable.h" |
| 36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "wtf/Assertions.h" | 37 #include "wtf/Assertions.h" |
| 38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
| 39 #include <memory> | 39 #include <memory> |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class CustomElementsRegistry; | 43 class CustomElementRegistry; |
| 44 class DOMWindowEventQueue; | 44 class DOMWindowEventQueue; |
| 45 class DOMWindowProperty; | 45 class DOMWindowProperty; |
| 46 class DocumentInit; | 46 class DocumentInit; |
| 47 class EventListener; | 47 class EventListener; |
| 48 class EventQueue; | 48 class EventQueue; |
| 49 class ExceptionState; | 49 class ExceptionState; |
| 50 class FrameConsole; | 50 class FrameConsole; |
| 51 class IntRect; | 51 class IntRect; |
| 52 class MessageEvent; | 52 class MessageEvent; |
| 53 class Page; | 53 class Page; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 void resizeBy(int x, int y) const override; | 145 void resizeBy(int x, int y) const override; |
| 146 void resizeTo(int width, int height) const override; | 146 void resizeTo(int width, int height) const override; |
| 147 MediaQueryList* matchMedia(const String&) override; | 147 MediaQueryList* matchMedia(const String&) override; |
| 148 CSSStyleDeclaration* getComputedStyle(Element*, const String& pseudoElt) con
st override; | 148 CSSStyleDeclaration* getComputedStyle(Element*, const String& pseudoElt) con
st override; |
| 149 CSSRuleList* getMatchedCSSRules(Element*, const String& pseudoElt) const ove
rride; | 149 CSSRuleList* getMatchedCSSRules(Element*, const String& pseudoElt) const ove
rride; |
| 150 int requestAnimationFrame(FrameRequestCallback*) override; | 150 int requestAnimationFrame(FrameRequestCallback*) override; |
| 151 int webkitRequestAnimationFrame(FrameRequestCallback*) override; | 151 int webkitRequestAnimationFrame(FrameRequestCallback*) override; |
| 152 void cancelAnimationFrame(int id) override; | 152 void cancelAnimationFrame(int id) override; |
| 153 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove
rride; | 153 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove
rride; |
| 154 void cancelIdleCallback(int id) override; | 154 void cancelIdleCallback(int id) override; |
| 155 CustomElementsRegistry* customElements(ScriptState*) const override; | 155 CustomElementRegistry* customElements(ScriptState*) const override; |
| 156 CustomElementsRegistry* customElements() const; | 156 CustomElementRegistry* customElements() const; |
| 157 CustomElementsRegistry* maybeCustomElements() const; | 157 CustomElementRegistry* maybeCustomElements() const; |
| 158 | 158 |
| 159 void registerProperty(DOMWindowProperty*); | 159 void registerProperty(DOMWindowProperty*); |
| 160 void unregisterProperty(DOMWindowProperty*); | 160 void unregisterProperty(DOMWindowProperty*); |
| 161 | 161 |
| 162 void registerEventListenerObserver(EventListenerObserver*); | 162 void registerEventListenerObserver(EventListenerObserver*); |
| 163 | 163 |
| 164 void reset(); | 164 void reset(); |
| 165 | 165 |
| 166 unsigned pendingUnloadEventListeners() const; | 166 unsigned pendingUnloadEventListeners() const; |
| 167 | 167 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 mutable Member<Screen> m_screen; | 248 mutable Member<Screen> m_screen; |
| 249 mutable Member<History> m_history; | 249 mutable Member<History> m_history; |
| 250 mutable Member<BarProp> m_locationbar; | 250 mutable Member<BarProp> m_locationbar; |
| 251 mutable Member<BarProp> m_menubar; | 251 mutable Member<BarProp> m_menubar; |
| 252 mutable Member<BarProp> m_personalbar; | 252 mutable Member<BarProp> m_personalbar; |
| 253 mutable Member<BarProp> m_scrollbars; | 253 mutable Member<BarProp> m_scrollbars; |
| 254 mutable Member<BarProp> m_statusbar; | 254 mutable Member<BarProp> m_statusbar; |
| 255 mutable Member<BarProp> m_toolbar; | 255 mutable Member<BarProp> m_toolbar; |
| 256 mutable Member<Navigator> m_navigator; | 256 mutable Member<Navigator> m_navigator; |
| 257 mutable Member<StyleMedia> m_media; | 257 mutable Member<StyleMedia> m_media; |
| 258 mutable Member<CustomElementsRegistry> m_customElements; | 258 mutable Member<CustomElementRegistry> m_customElements; |
| 259 | 259 |
| 260 String m_status; | 260 String m_status; |
| 261 String m_defaultStatus; | 261 String m_defaultStatus; |
| 262 | 262 |
| 263 mutable Member<ApplicationCache> m_applicationCache; | 263 mutable Member<ApplicationCache> m_applicationCache; |
| 264 | 264 |
| 265 Member<DOMWindowEventQueue> m_eventQueue; | 265 Member<DOMWindowEventQueue> m_eventQueue; |
| 266 RefPtr<SerializedScriptValue> m_pendingStateObject; | 266 RefPtr<SerializedScriptValue> m_pendingStateObject; |
| 267 | 267 |
| 268 HeapHashSet<Member<PostMessageTimer>> m_postMessageTimers; | 268 HeapHashSet<Member<PostMessageTimer>> m_postMessageTimers; |
| 269 HeapHashSet<WeakMember<EventListenerObserver>> m_eventListenerObservers; | 269 HeapHashSet<WeakMember<EventListenerObserver>> m_eventListenerObservers; |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 DEFINE_TYPE_CASTS(LocalDOMWindow, DOMWindow, x, x->isLocalDOMWindow(), x.isLocal
DOMWindow()); | 272 DEFINE_TYPE_CASTS(LocalDOMWindow, DOMWindow, x, x->isLocalDOMWindow(), x.isLocal
DOMWindow()); |
| 273 | 273 |
| 274 inline String LocalDOMWindow::status() const | 274 inline String LocalDOMWindow::status() const |
| 275 { | 275 { |
| 276 return m_status; | 276 return m_status; |
| 277 } | 277 } |
| 278 | 278 |
| 279 inline String LocalDOMWindow::defaultStatus() const | 279 inline String LocalDOMWindow::defaultStatus() const |
| 280 { | 280 { |
| 281 return m_defaultStatus; | 281 return m_defaultStatus; |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace blink | 284 } // namespace blink |
| 285 | 285 |
| 286 #endif // LocalDOMWindow_h | 286 #endif // LocalDOMWindow_h |
| OLD | NEW |