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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); | 283 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); |
284 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); | 284 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); |
285 void dispatchWindowLoadEvent(); | 285 void dispatchWindowLoadEvent(); |
286 void documentWasClosed(); | 286 void documentWasClosed(); |
287 void statePopped(PassRefPtr<SerializedScriptValue>); | 287 void statePopped(PassRefPtr<SerializedScriptValue>); |
288 | 288 |
289 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont
ext. | 289 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont
ext. |
290 void clearEventQueue(); | 290 void clearEventQueue(); |
291 | 291 |
292 void acceptLanguagesChanged(); | 292 void acceptLanguagesChanged(); |
| 293 void replaceDocument(String documentSource, String contentType, String encod
ingName); |
293 | 294 |
294 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) override; | 295 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) override; |
295 | 296 |
296 protected: | 297 protected: |
297 DOMWindowLifecycleNotifier& lifecycleNotifier(); | 298 DOMWindowLifecycleNotifier& lifecycleNotifier(); |
298 | 299 |
299 private: | 300 private: |
300 // Rather than simply inheriting FrameDestructionObserver like most other | 301 // Rather than simply inheriting FrameDestructionObserver like most other |
301 // classes, LocalDOMWindow hides its FrameDestructionObserver with | 302 // classes, LocalDOMWindow hides its FrameDestructionObserver with |
302 // composition. This prevents conflicting overloads between DOMWindow, which | 303 // composition. This prevents conflicting overloads between DOMWindow, which |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 } | 389 } |
389 | 390 |
390 inline String LocalDOMWindow::defaultStatus() const | 391 inline String LocalDOMWindow::defaultStatus() const |
391 { | 392 { |
392 return m_defaultStatus; | 393 return m_defaultStatus; |
393 } | 394 } |
394 | 395 |
395 } // namespace blink | 396 } // namespace blink |
396 | 397 |
397 #endif // LocalDOMWindow_h | 398 #endif // LocalDOMWindow_h |
OLD | NEW |