| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 | 328 |
| 329 protected: | 329 protected: |
| 330 DOMWindowLifecycleNotifier& lifecycleNotifier(); | 330 DOMWindowLifecycleNotifier& lifecycleNotifier(); |
| 331 | 331 |
| 332 private: | 332 private: |
| 333 explicit DOMWindow(Frame*); | 333 explicit DOMWindow(Frame*); |
| 334 | 334 |
| 335 Page* page(); | 335 Page* page(); |
| 336 | 336 |
| 337 virtual void frameDestroyed() OVERRIDE; | 337 virtual void frameDestroyed() OVERRIDE; |
| 338 virtual void willDetachPage() OVERRIDE; | 338 virtual void willDetachFrameHost() OVERRIDE; |
| 339 | 339 |
| 340 void clearDocument(); | 340 void clearDocument(); |
| 341 void resetDOMWindowProperties(); | 341 void resetDOMWindowProperties(); |
| 342 void willDestroyDocumentInFrame(); | 342 void willDestroyDocumentInFrame(); |
| 343 | 343 |
| 344 RefPtr<Document> m_document; | 344 RefPtr<Document> m_document; |
| 345 | 345 |
| 346 bool m_shouldPrintWhenFinishedLoading; | 346 bool m_shouldPrintWhenFinishedLoading; |
| 347 | 347 |
| 348 HashSet<DOMWindowProperty*> m_properties; | 348 HashSet<DOMWindowProperty*> m_properties; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 } | 381 } |
| 382 | 382 |
| 383 inline String DOMWindow::defaultStatus() const | 383 inline String DOMWindow::defaultStatus() const |
| 384 { | 384 { |
| 385 return m_defaultStatus; | 385 return m_defaultStatus; |
| 386 } | 386 } |
| 387 | 387 |
| 388 } // namespace WebCore | 388 } // namespace WebCore |
| 389 | 389 |
| 390 #endif // DOMWindow_h | 390 #endif // DOMWindow_h |
| OLD | NEW |