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