| 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 20 matching lines...) Expand all Loading... |
| 31 #include "sky/engine/core/frame/DOMWindowBase64.h" | 31 #include "sky/engine/core/frame/DOMWindowBase64.h" |
| 32 #include "sky/engine/core/frame/FrameDestructionObserver.h" | 32 #include "sky/engine/core/frame/FrameDestructionObserver.h" |
| 33 #include "sky/engine/platform/LifecycleContext.h" | 33 #include "sky/engine/platform/LifecycleContext.h" |
| 34 #include "sky/engine/platform/Supplementable.h" | 34 #include "sky/engine/platform/Supplementable.h" |
| 35 #include "sky/engine/platform/heap/Handle.h" | 35 #include "sky/engine/platform/heap/Handle.h" |
| 36 | 36 |
| 37 #include "sky/engine/wtf/Forward.h" | 37 #include "sky/engine/wtf/Forward.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class Application; | |
| 42 class CSSStyleDeclaration; | 41 class CSSStyleDeclaration; |
| 43 class DOMSelection; | 42 class DOMSelection; |
| 44 class DOMURL; | 43 class DOMURL; |
| 45 class DOMWindowCSS; | 44 class DOMWindowCSS; |
| 46 class DOMWindowEventQueue; | 45 class DOMWindowEventQueue; |
| 47 class DOMWindowLifecycleNotifier; | 46 class DOMWindowLifecycleNotifier; |
| 48 class DOMWindowProperty; | 47 class DOMWindowProperty; |
| 49 class Database; | 48 class Database; |
| 50 class DatabaseCallback; | 49 class DatabaseCallback; |
| 51 class Document; | 50 class Document; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // window properties are also on the heap. Inline the minimal | 216 // window properties are also on the heap. Inline the minimal |
| 218 // do-not-broadcast handling then and remove the enum + | 217 // do-not-broadcast handling then and remove the enum + |
| 219 // removeAllEventListenersInternal(). | 218 // removeAllEventListenersInternal(). |
| 220 enum BroadcastListenerRemoval { | 219 enum BroadcastListenerRemoval { |
| 221 DoNotBroadcastListenerRemoval, | 220 DoNotBroadcastListenerRemoval, |
| 222 DoBroadcastListenerRemoval | 221 DoBroadcastListenerRemoval |
| 223 }; | 222 }; |
| 224 | 223 |
| 225 void removeAllEventListenersInternal(BroadcastListenerRemoval); | 224 void removeAllEventListenersInternal(BroadcastListenerRemoval); |
| 226 | 225 |
| 227 RefPtr<Application> m_application; | |
| 228 RefPtr<Document> m_document; | 226 RefPtr<Document> m_document; |
| 229 | 227 |
| 230 #if ENABLE(ASSERT) | 228 #if ENABLE(ASSERT) |
| 231 bool m_hasBeenReset; | 229 bool m_hasBeenReset; |
| 232 #endif | 230 #endif |
| 233 | 231 |
| 234 HashSet<DOMWindowProperty*> m_properties; | 232 HashSet<DOMWindowProperty*> m_properties; |
| 235 | 233 |
| 236 mutable RefPtr<Screen> m_screen; | 234 mutable RefPtr<Screen> m_screen; |
| 237 mutable RefPtr<Location> m_location; | 235 mutable RefPtr<Location> m_location; |
| 238 mutable RefPtr<Tracing> m_tracing; | 236 mutable RefPtr<Tracing> m_tracing; |
| 239 mutable RefPtr<DOMWindowCSS> m_css; | 237 mutable RefPtr<DOMWindowCSS> m_css; |
| 240 | 238 |
| 241 RefPtr<DOMWindowEventQueue> m_eventQueue; | 239 RefPtr<DOMWindowEventQueue> m_eventQueue; |
| 242 }; | 240 }; |
| 243 | 241 |
| 244 } // namespace blink | 242 } // namespace blink |
| 245 | 243 |
| 246 #endif // SKY_ENGINE_CORE_FRAME_LOCALDOMWINDOW_H_ | 244 #endif // SKY_ENGINE_CORE_FRAME_LOCALDOMWINDOW_H_ |
| OLD | NEW |