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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 class ScriptCallStack; | 56 class ScriptCallStack; |
57 class SecurityOrigin; | 57 class SecurityOrigin; |
58 | 58 |
59 enum PageshowEventPersistence { | 59 enum PageshowEventPersistence { |
60 PageshowEventNotPersisted = 0, | 60 PageshowEventNotPersisted = 0, |
61 PageshowEventPersisted = 1 | 61 PageshowEventPersisted = 1 |
62 }; | 62 }; |
63 | 63 |
64 // Note: if you're thinking of returning something DOM-related by reference, | 64 // Note: if you're thinking of returning something DOM-related by reference, |
65 // please ping dcheng@chromium.org first. You probably don't want to do that. | 65 // please ping dcheng@chromium.org first. You probably don't want to do that. |
66 class CORE_EXPORT LocalDOMWindow final : public DOMWindow, public HeapSupplement
able<LocalDOMWindow>, public DOMWindowLifecycleNotifier { | 66 class CORE_EXPORT LocalDOMWindow final : public DOMWindow, public Supplementable
<LocalDOMWindow>, public DOMWindowLifecycleNotifier { |
67 USING_GARBAGE_COLLECTED_MIXIN(LocalDOMWindow); | 67 USING_GARBAGE_COLLECTED_MIXIN(LocalDOMWindow); |
68 USING_PRE_FINALIZER(LocalDOMWindow, dispose); | 68 USING_PRE_FINALIZER(LocalDOMWindow, dispose); |
69 public: | 69 public: |
70 static RawPtr<Document> createDocument(const String& mimeType, const Documen
tInit&, bool forceXHTML); | 70 static RawPtr<Document> createDocument(const String& mimeType, const Documen
tInit&, bool forceXHTML); |
71 static RawPtr<LocalDOMWindow> create(LocalFrame& frame) | 71 static RawPtr<LocalDOMWindow> create(LocalFrame& frame) |
72 { | 72 { |
73 return new LocalDOMWindow(frame); | 73 return new LocalDOMWindow(frame); |
74 } | 74 } |
75 | 75 |
76 ~LocalDOMWindow() override; | 76 ~LocalDOMWindow() override; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 } | 281 } |
282 | 282 |
283 inline String LocalDOMWindow::defaultStatus() const | 283 inline String LocalDOMWindow::defaultStatus() const |
284 { | 284 { |
285 return m_defaultStatus; | 285 return m_defaultStatus; |
286 } | 286 } |
287 | 287 |
288 } // namespace blink | 288 } // namespace blink |
289 | 289 |
290 #endif // LocalDOMWindow_h | 290 #endif // LocalDOMWindow_h |
OLD | NEW |