| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // frame), we would like to zero out m_frame to avoid being confused | 375 // frame), we would like to zero out m_frame to avoid being confused |
| 376 // by the document that is currently active in m_frame. | 376 // by the document that is currently active in m_frame. |
| 377 bool isCurrentlyDisplayedInFrame() const; | 377 bool isCurrentlyDisplayedInFrame() const; |
| 378 | 378 |
| 379 void willDetachDocumentFromFrame(); | 379 void willDetachDocumentFromFrame(); |
| 380 DOMWindow* anonymousIndexedGetter(uint32_t); | 380 DOMWindow* anonymousIndexedGetter(uint32_t); |
| 381 | 381 |
| 382 bool isInsecureScriptAccess(DOMWindow* activeWindow, const String& urlSt
ring); | 382 bool isInsecureScriptAccess(DOMWindow* activeWindow, const String& urlSt
ring); |
| 383 | 383 |
| 384 protected: | 384 protected: |
| 385 DOMWindowLifecycleNotifier* lifecycleNotifier(); | 385 DOMWindowLifecycleNotifier& lifecycleNotifier(); |
| 386 | 386 |
| 387 private: | 387 private: |
| 388 explicit DOMWindow(Frame*); | 388 explicit DOMWindow(Frame*); |
| 389 | 389 |
| 390 Page* page(); | 390 Page* page(); |
| 391 | 391 |
| 392 virtual PassOwnPtr<LifecycleNotifier<DOMWindow> > createLifecycleNotifie
r() OVERRIDE; | 392 virtual PassOwnPtr<LifecycleNotifier<DOMWindow> > createLifecycleNotifie
r() OVERRIDE; |
| 393 | 393 |
| 394 virtual void frameDestroyed() OVERRIDE; | 394 virtual void frameDestroyed() OVERRIDE; |
| 395 virtual void willDetachPage() OVERRIDE; | 395 virtual void willDetachPage() OVERRIDE; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 } | 435 } |
| 436 | 436 |
| 437 inline String DOMWindow::defaultStatus() const | 437 inline String DOMWindow::defaultStatus() const |
| 438 { | 438 { |
| 439 return m_defaultStatus; | 439 return m_defaultStatus; |
| 440 } | 440 } |
| 441 | 441 |
| 442 } // namespace WebCore | 442 } // namespace WebCore |
| 443 | 443 |
| 444 #endif // DOMWindow_h | 444 #endif // DOMWindow_h |
| OLD | NEW |