| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 void documentWasClosed(); | 196 void documentWasClosed(); |
| 197 void statePopped(PassRefPtr<SerializedScriptValue>); | 197 void statePopped(PassRefPtr<SerializedScriptValue>); |
| 198 | 198 |
| 199 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont
ext. | 199 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont
ext. |
| 200 void clearEventQueue(); | 200 void clearEventQueue(); |
| 201 | 201 |
| 202 void acceptLanguagesChanged(); | 202 void acceptLanguagesChanged(); |
| 203 | 203 |
| 204 protected: | 204 protected: |
| 205 // EventTarget overrides. | 205 // EventTarget overrides. |
| 206 bool addEventListenerInternal(const AtomicString& eventType, EventListener*,
const EventListenerOptions&) override; | 206 void addedEventListener(const AtomicString& eventType, RegisteredEventListen
er&) override; |
| 207 bool removeEventListenerInternal(const AtomicString& eventType, EventListene
r*, const EventListenerOptions&) override; | 207 void removedEventListener(const AtomicString& eventType, const RegisteredEve
ntListener&) override; |
| 208 | 208 |
| 209 private: | 209 private: |
| 210 class WindowFrameObserver; | 210 class WindowFrameObserver; |
| 211 | 211 |
| 212 explicit LocalDOMWindow(LocalFrame&); | 212 explicit LocalDOMWindow(LocalFrame&); |
| 213 void dispose(); | 213 void dispose(); |
| 214 | 214 |
| 215 void dispatchLoadEvent(); | 215 void dispatchLoadEvent(); |
| 216 void clearDocument(); | 216 void clearDocument(); |
| 217 void willDestroyDocumentInFrame(); | 217 void willDestroyDocumentInFrame(); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 } | 257 } |
| 258 | 258 |
| 259 inline String LocalDOMWindow::defaultStatus() const | 259 inline String LocalDOMWindow::defaultStatus() const |
| 260 { | 260 { |
| 261 return m_defaultStatus; | 261 return m_defaultStatus; |
| 262 } | 262 } |
| 263 | 263 |
| 264 } // namespace blink | 264 } // namespace blink |
| 265 | 265 |
| 266 #endif // LocalDOMWindow_h | 266 #endif // LocalDOMWindow_h |
| OLD | NEW |