| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); | 410 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); |
| 411 #endif | 411 #endif |
| 412 | 412 |
| 413 #if ENABLE(WEB_TIMING) | 413 #if ENABLE(WEB_TIMING) |
| 414 Performance* performance() const; | 414 Performance* performance() const; |
| 415 #endif | 415 #endif |
| 416 | 416 |
| 417 private: | 417 private: |
| 418 DOMWindow(Frame*); | 418 DOMWindow(Frame*); |
| 419 | 419 |
| 420 // FIXME: When this DOMWindow is no longer the active DOMWindow (i.e., |
| 421 // when its document is no longer the document that is displayed in its |
| 422 // frame), we would like to zero out m_frame to avoid being confused |
| 423 // by the document that is currently active in m_frame. |
| 424 bool isCurrentlyDisplayedInFrame() const; |
| 425 |
| 420 virtual void refEventTarget() { ref(); } | 426 virtual void refEventTarget() { ref(); } |
| 421 virtual void derefEventTarget() { deref(); } | 427 virtual void derefEventTarget() { deref(); } |
| 422 virtual EventTargetData* eventTargetData(); | 428 virtual EventTargetData* eventTargetData(); |
| 423 virtual EventTargetData* ensureEventTargetData(); | 429 virtual EventTargetData* ensureEventTargetData(); |
| 424 | 430 |
| 425 static Frame* createWindow(const String& urlString, const AtomicString&
frameName, const WindowFeatures&, | 431 static Frame* createWindow(const String& urlString, const AtomicString&
frameName, const WindowFeatures&, |
| 426 DOMWindow* activeWindow, Frame* firstFrame, Frame* openerFrame, | 432 DOMWindow* activeWindow, Frame* firstFrame, Frame* openerFrame, |
| 427 PrepareDialogFunction = 0, void* functionContext = 0); | 433 PrepareDialogFunction = 0, void* functionContext = 0); |
| 428 bool isInsecureScriptAccess(DOMWindow* activeWindow, const String& urlSt
ring); | 434 bool isInsecureScriptAccess(DOMWindow* activeWindow, const String& urlSt
ring); |
| 429 | 435 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 } | 494 } |
| 489 | 495 |
| 490 inline String DOMWindow::defaultStatus() const | 496 inline String DOMWindow::defaultStatus() const |
| 491 { | 497 { |
| 492 return m_defaultStatus; | 498 return m_defaultStatus; |
| 493 } | 499 } |
| 494 | 500 |
| 495 } // namespace WebCore | 501 } // namespace WebCore |
| 496 | 502 |
| 497 #endif // DOMWindow_h | 503 #endif // DOMWindow_h |
| OLD | NEW |