| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) OVERRIDE; | 334 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) OVERRIDE; |
| 335 | 335 |
| 336 protected: | 336 protected: |
| 337 DOMWindowLifecycleNotifier& lifecycleNotifier(); | 337 DOMWindowLifecycleNotifier& lifecycleNotifier(); |
| 338 | 338 |
| 339 private: | 339 private: |
| 340 explicit LocalDOMWindow(LocalFrame&); | 340 explicit LocalDOMWindow(LocalFrame&); |
| 341 | 341 |
| 342 Page* page(); | 342 Page* page(); |
| 343 | 343 |
| 344 // FrameDestructionObserver |
| 345 #if !ENABLE(OILPAN) |
| 344 virtual void frameDestroyed() OVERRIDE; | 346 virtual void frameDestroyed() OVERRIDE; |
| 347 #endif |
| 345 virtual void willDetachFrameHost() OVERRIDE; | 348 virtual void willDetachFrameHost() OVERRIDE; |
| 346 | 349 |
| 347 void clearDocument(); | 350 void clearDocument(); |
| 348 void willDestroyDocumentInFrame(); | 351 void willDestroyDocumentInFrame(); |
| 349 | 352 |
| 350 // FIXME: Oilpan: the need for this internal method will fall | 353 // FIXME: Oilpan: the need for this internal method will fall |
| 351 // away when EventTargets are no longer using refcounts and | 354 // away when EventTargets are no longer using refcounts and |
| 352 // window properties are also on the heap. Inline the minimal | 355 // window properties are also on the heap. Inline the minimal |
| 353 // do-not-broadcast handling then and remove the enum + | 356 // do-not-broadcast handling then and remove the enum + |
| 354 // removeAllEventListenersInternal(). | 357 // removeAllEventListenersInternal(). |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 } | 407 } |
| 405 | 408 |
| 406 inline String LocalDOMWindow::defaultStatus() const | 409 inline String LocalDOMWindow::defaultStatus() const |
| 407 { | 410 { |
| 408 return m_defaultStatus; | 411 return m_defaultStatus; |
| 409 } | 412 } |
| 410 | 413 |
| 411 } // namespace blink | 414 } // namespace blink |
| 412 | 415 |
| 413 #endif // LocalDOMWindow_h | 416 #endif // LocalDOMWindow_h |
| OLD | NEW |