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 13 matching lines...) Expand all Loading... |
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 DOMWindow_h | 27 #ifndef DOMWindow_h |
28 #define DOMWindow_h | 28 #define DOMWindow_h |
29 | 29 |
30 #include "bindings/v8/Dictionary.h" | 30 #include "bindings/v8/Dictionary.h" |
31 #include "bindings/v8/ScriptWrappable.h" | 31 #include "bindings/v8/ScriptWrappable.h" |
32 #include "core/events/EventTarget.h" | 32 #include "core/events/EventTarget.h" |
33 #include "core/frame/FrameDestructionObserver.h" | 33 #include "core/frame/FrameDestructionObserver.h" |
| 34 #include "heap/Handle.h" |
34 #include "platform/LifecycleContext.h" | 35 #include "platform/LifecycleContext.h" |
35 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
36 | 37 |
37 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
38 | 39 |
39 namespace WebCore { | 40 namespace WebCore { |
40 class ApplicationCache; | 41 class ApplicationCache; |
41 class BarProp; | 42 class BarProp; |
42 class CSSRuleList; | 43 class CSSRuleList; |
43 class CSSStyleDeclaration; | 44 class CSSStyleDeclaration; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 void clearDocument(); | 330 void clearDocument(); |
330 void resetDOMWindowProperties(); | 331 void resetDOMWindowProperties(); |
331 void willDestroyDocumentInFrame(); | 332 void willDestroyDocumentInFrame(); |
332 | 333 |
333 RefPtr<Document> m_document; | 334 RefPtr<Document> m_document; |
334 | 335 |
335 bool m_shouldPrintWhenFinishedLoading; | 336 bool m_shouldPrintWhenFinishedLoading; |
336 | 337 |
337 HashSet<DOMWindowProperty*> m_properties; | 338 HashSet<DOMWindowProperty*> m_properties; |
338 | 339 |
339 mutable RefPtr<Screen> m_screen; | 340 mutable RefPtrWillBePersistent<Screen> m_screen; |
340 mutable RefPtr<History> m_history; | 341 mutable RefPtr<History> m_history; |
341 mutable RefPtr<BarProp> m_locationbar; | 342 mutable RefPtr<BarProp> m_locationbar; |
342 mutable RefPtr<BarProp> m_menubar; | 343 mutable RefPtr<BarProp> m_menubar; |
343 mutable RefPtr<BarProp> m_personalbar; | 344 mutable RefPtr<BarProp> m_personalbar; |
344 mutable RefPtr<BarProp> m_scrollbars; | 345 mutable RefPtr<BarProp> m_scrollbars; |
345 mutable RefPtr<BarProp> m_statusbar; | 346 mutable RefPtr<BarProp> m_statusbar; |
346 mutable RefPtr<BarProp> m_toolbar; | 347 mutable RefPtr<BarProp> m_toolbar; |
347 mutable RefPtr<Console> m_console; | 348 mutable RefPtr<Console> m_console; |
348 mutable RefPtr<Navigator> m_navigator; | 349 mutable RefPtr<Navigator> m_navigator; |
349 mutable RefPtr<Location> m_location; | 350 mutable RefPtr<Location> m_location; |
(...skipping 20 matching lines...) Expand all Loading... |
370 } | 371 } |
371 | 372 |
372 inline String DOMWindow::defaultStatus() const | 373 inline String DOMWindow::defaultStatus() const |
373 { | 374 { |
374 return m_defaultStatus; | 375 return m_defaultStatus; |
375 } | 376 } |
376 | 377 |
377 } // namespace WebCore | 378 } // namespace WebCore |
378 | 379 |
379 #endif // DOMWindow_h | 380 #endif // DOMWindow_h |
OLD | NEW |