| 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/DOMWindowBase64.h" | 33 #include "core/frame/DOMWindowBase64.h" |
| 34 #include "core/frame/FrameDestructionObserver.h" | 34 #include "core/frame/FrameDestructionObserver.h" |
| 35 #include "platform/LifecycleContext.h" | 35 #include "platform/LifecycleContext.h" |
| 36 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
| 37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 38 | 38 |
| 39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class Application; |
| 43 class CSSRuleList; | 44 class CSSRuleList; |
| 44 class CSSStyleDeclaration; | 45 class CSSStyleDeclaration; |
| 45 class Console; | 46 class Console; |
| 46 class DOMSelection; | 47 class DOMSelection; |
| 47 class DOMURL; | 48 class DOMURL; |
| 48 class DOMWindowCSS; | 49 class DOMWindowCSS; |
| 49 class DOMWindowEventQueue; | 50 class DOMWindowEventQueue; |
| 50 class DOMWindowLifecycleNotifier; | 51 class DOMWindowLifecycleNotifier; |
| 51 class DOMWindowProperty; | 52 class DOMWindowProperty; |
| 52 class Database; | 53 class Database; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // window properties are also on the heap. Inline the minimal | 228 // window properties are also on the heap. Inline the minimal |
| 228 // do-not-broadcast handling then and remove the enum + | 229 // do-not-broadcast handling then and remove the enum + |
| 229 // removeAllEventListenersInternal(). | 230 // removeAllEventListenersInternal(). |
| 230 enum BroadcastListenerRemoval { | 231 enum BroadcastListenerRemoval { |
| 231 DoNotBroadcastListenerRemoval, | 232 DoNotBroadcastListenerRemoval, |
| 232 DoBroadcastListenerRemoval | 233 DoBroadcastListenerRemoval |
| 233 }; | 234 }; |
| 234 | 235 |
| 235 void removeAllEventListenersInternal(BroadcastListenerRemoval); | 236 void removeAllEventListenersInternal(BroadcastListenerRemoval); |
| 236 | 237 |
| 238 RefPtr<Application> m_application; |
| 237 RefPtr<Document> m_document; | 239 RefPtr<Document> m_document; |
| 238 | 240 |
| 239 #if ENABLE(ASSERT) | 241 #if ENABLE(ASSERT) |
| 240 bool m_hasBeenReset; | 242 bool m_hasBeenReset; |
| 241 #endif | 243 #endif |
| 242 | 244 |
| 243 HashSet<DOMWindowProperty*> m_properties; | 245 HashSet<DOMWindowProperty*> m_properties; |
| 244 | 246 |
| 245 mutable RefPtr<Screen> m_screen; | 247 mutable RefPtr<Screen> m_screen; |
| 246 mutable RefPtr<History> m_history; | 248 mutable RefPtr<History> m_history; |
| 247 mutable RefPtr<Console> m_console; | 249 mutable RefPtr<Console> m_console; |
| 248 mutable RefPtr<Location> m_location; | 250 mutable RefPtr<Location> m_location; |
| 249 mutable RefPtr<StyleMedia> m_media; | 251 mutable RefPtr<StyleMedia> m_media; |
| 250 | 252 |
| 251 mutable RefPtr<DOMWindowCSS> m_css; | 253 mutable RefPtr<DOMWindowCSS> m_css; |
| 252 | 254 |
| 253 RefPtr<DOMWindowEventQueue> m_eventQueue; | 255 RefPtr<DOMWindowEventQueue> m_eventQueue; |
| 254 RefPtr<SerializedScriptValue> m_pendingStateObject; | 256 RefPtr<SerializedScriptValue> m_pendingStateObject; |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 } // namespace blink | 259 } // namespace blink |
| 258 | 260 |
| 259 #endif // LocalDOMWindow_h | 261 #endif // LocalDOMWindow_h |
| OLD | NEW |