| 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 virtual void frameDestroyed() OVERRIDE; | 344 // FrameDestructionObserver |
| 345 virtual void willDetachFrameHost() OVERRIDE; | 345 virtual void willDetachFrameHost() OVERRIDE; |
| 346 | 346 |
| 347 void clearDocument(); | 347 void clearDocument(); |
| 348 void willDestroyDocumentInFrame(); | 348 void willDestroyDocumentInFrame(); |
| 349 | 349 |
| 350 // FIXME: Oilpan: the need for this internal method will fall | 350 // FIXME: Oilpan: the need for this internal method will fall |
| 351 // away when EventTargets are no longer using refcounts and | 351 // away when EventTargets are no longer using refcounts and |
| 352 // window properties are also on the heap. Inline the minimal | 352 // window properties are also on the heap. Inline the minimal |
| 353 // do-not-broadcast handling then and remove the enum + | 353 // do-not-broadcast handling then and remove the enum + |
| 354 // removeAllEventListenersInternal(). | 354 // removeAllEventListenersInternal(). |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 } | 404 } |
| 405 | 405 |
| 406 inline String LocalDOMWindow::defaultStatus() const | 406 inline String LocalDOMWindow::defaultStatus() const |
| 407 { | 407 { |
| 408 return m_defaultStatus; | 408 return m_defaultStatus; |
| 409 } | 409 } |
| 410 | 410 |
| 411 } // namespace blink | 411 } // namespace blink |
| 412 | 412 |
| 413 #endif // LocalDOMWindow_h | 413 #endif // LocalDOMWindow_h |
| OLD | NEW |