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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 void dispatchWindowLoadEvent(); | 323 void dispatchWindowLoadEvent(); |
324 void documentWasClosed(); | 324 void documentWasClosed(); |
325 void statePopped(PassRefPtr<SerializedScriptValue>); | 325 void statePopped(PassRefPtr<SerializedScriptValue>); |
326 | 326 |
327 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont
ext. | 327 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont
ext. |
328 void clearEventQueue(); | 328 void clearEventQueue(); |
329 | 329 |
330 void acceptLanguagesChanged(); | 330 void acceptLanguagesChanged(); |
331 | 331 |
332 virtual void trace(Visitor*) OVERRIDE; | 332 virtual void trace(Visitor*) OVERRIDE; |
| 333 void replaceDocument(String documentSource, String contentType, String encod
ingName); |
333 | 334 |
334 protected: | 335 protected: |
335 DOMWindowLifecycleNotifier& lifecycleNotifier(); | 336 DOMWindowLifecycleNotifier& lifecycleNotifier(); |
336 | 337 |
337 private: | 338 private: |
338 explicit LocalDOMWindow(LocalFrame&); | 339 explicit LocalDOMWindow(LocalFrame&); |
339 | 340 |
340 Page* page(); | 341 Page* page(); |
341 | 342 |
342 virtual void frameDestroyed() OVERRIDE; | 343 virtual void frameDestroyed() OVERRIDE; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 } | 404 } |
404 | 405 |
405 inline String LocalDOMWindow::defaultStatus() const | 406 inline String LocalDOMWindow::defaultStatus() const |
406 { | 407 { |
407 return m_defaultStatus; | 408 return m_defaultStatus; |
408 } | 409 } |
409 | 410 |
410 } // namespace blink | 411 } // namespace blink |
411 | 412 |
412 #endif // LocalDOMWindow_h | 413 #endif // LocalDOMWindow_h |
OLD | NEW |