| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 EventQueue* getEventQueue() const; | 220 EventQueue* getEventQueue() const; |
| 221 void enqueueWindowEvent(Event*); | 221 void enqueueWindowEvent(Event*); |
| 222 void enqueueDocumentEvent(Event*); | 222 void enqueueDocumentEvent(Event*); |
| 223 void enqueuePageshowEvent(PageshowEventPersistence); | 223 void enqueuePageshowEvent(PageshowEventPersistence); |
| 224 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); | 224 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); |
| 225 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); | 225 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); |
| 226 void dispatchWindowLoadEvent(); | 226 void dispatchWindowLoadEvent(); |
| 227 void documentWasClosed(); | 227 void documentWasClosed(); |
| 228 void statePopped(PassRefPtr<SerializedScriptValue>); | 228 void statePopped(PassRefPtr<SerializedScriptValue>); |
| 229 | 229 |
| 230 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionContex
t. | 230 // FIXME: This shouldn't be public once LocalDOMWindow becomes |
| 231 // ExecutionContext. |
| 231 void clearEventQueue(); | 232 void clearEventQueue(); |
| 232 | 233 |
| 233 void acceptLanguagesChanged(); | 234 void acceptLanguagesChanged(); |
| 234 | 235 |
| 235 FloatSize getViewportSize(IncludeScrollbarsInRect) const; | 236 FloatSize getViewportSize(IncludeScrollbarsInRect) const; |
| 236 | 237 |
| 237 protected: | 238 protected: |
| 238 // EventTarget overrides. | 239 // EventTarget overrides. |
| 239 void addedEventListener(const AtomicString& eventType, | 240 void addedEventListener(const AtomicString& eventType, |
| 240 RegisteredEventListener&) override; | 241 RegisteredEventListener&) override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 return m_status; | 305 return m_status; |
| 305 } | 306 } |
| 306 | 307 |
| 307 inline String LocalDOMWindow::defaultStatus() const { | 308 inline String LocalDOMWindow::defaultStatus() const { |
| 308 return m_defaultStatus; | 309 return m_defaultStatus; |
| 309 } | 310 } |
| 310 | 311 |
| 311 } // namespace blink | 312 } // namespace blink |
| 312 | 313 |
| 313 #endif // LocalDOMWindow_h | 314 #endif // LocalDOMWindow_h |
| OLD | NEW |