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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 void enqueuePageshowEvent(PageshowEventPersistence); | 319 void enqueuePageshowEvent(PageshowEventPersistence); |
320 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); | 320 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); |
321 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); | 321 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); |
322 void dispatchWindowLoadEvent(); | 322 void dispatchWindowLoadEvent(); |
323 void documentWasClosed(); | 323 void documentWasClosed(); |
324 void statePopped(PassRefPtr<SerializedScriptValue>); | 324 void statePopped(PassRefPtr<SerializedScriptValue>); |
325 | 325 |
326 // FIXME: This shouldn't be public once DOMWindow becomes ExecutionConte
xt. | 326 // FIXME: This shouldn't be public once DOMWindow becomes ExecutionConte
xt. |
327 void clearEventQueue(); | 327 void clearEventQueue(); |
328 | 328 |
| 329 void acceptLanguagesChanged(); |
| 330 |
329 virtual void trace(Visitor*) OVERRIDE; | 331 virtual void trace(Visitor*) OVERRIDE; |
330 | 332 |
331 protected: | 333 protected: |
332 DOMWindowLifecycleNotifier& lifecycleNotifier(); | 334 DOMWindowLifecycleNotifier& lifecycleNotifier(); |
333 | 335 |
334 private: | 336 private: |
335 explicit DOMWindow(LocalFrame&); | 337 explicit DOMWindow(LocalFrame&); |
336 | 338 |
337 Page* page(); | 339 Page* page(); |
338 | 340 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 } | 400 } |
399 | 401 |
400 inline String DOMWindow::defaultStatus() const | 402 inline String DOMWindow::defaultStatus() const |
401 { | 403 { |
402 return m_defaultStatus; | 404 return m_defaultStatus; |
403 } | 405 } |
404 | 406 |
405 } // namespace WebCore | 407 } // namespace WebCore |
406 | 408 |
407 #endif // DOMWindow_h | 409 #endif // DOMWindow_h |
OLD | NEW |