| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void reset(); | 116 void reset(); |
| 117 | 117 |
| 118 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&); | 118 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&); |
| 119 | 119 |
| 120 unsigned pendingUnloadEventListeners() const; | 120 unsigned pendingUnloadEventListeners() const; |
| 121 | 121 |
| 122 static FloatRect adjustWindowRect(LocalFrame&, const FloatRect& pendingC
hanges); | 122 static FloatRect adjustWindowRect(LocalFrame&, const FloatRect& pendingC
hanges); |
| 123 | 123 |
| 124 bool allowPopUp(); // Call on first window, not target window. | 124 bool allowPopUp(); // Call on first window, not target window. |
| 125 static bool allowPopUp(LocalFrame& firstFrame); | 125 static bool allowPopUp(LocalFrame& firstFrame); |
| 126 static bool canShowModalDialog(const LocalFrame*); | |
| 127 static bool canShowModalDialogNow(const LocalFrame*); | 126 static bool canShowModalDialogNow(const LocalFrame*); |
| 128 | 127 |
| 129 // DOM Level 0 | 128 // DOM Level 0 |
| 130 | 129 |
| 131 Screen& screen() const; | 130 Screen& screen() const; |
| 132 History& history() const; | 131 History& history() const; |
| 133 BarProp& locationbar() const; | 132 BarProp& locationbar() const; |
| 134 BarProp& menubar() const; | 133 BarProp& menubar() const; |
| 135 BarProp& personalbar() const; | 134 BarProp& personalbar() const; |
| 136 BarProp& scrollbars() const; | 135 BarProp& scrollbars() const; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 } | 383 } |
| 385 | 384 |
| 386 inline String DOMWindow::defaultStatus() const | 385 inline String DOMWindow::defaultStatus() const |
| 387 { | 386 { |
| 388 return m_defaultStatus; | 387 return m_defaultStatus; |
| 389 } | 388 } |
| 390 | 389 |
| 391 } // namespace WebCore | 390 } // namespace WebCore |
| 392 | 391 |
| 393 #endif // DOMWindow_h | 392 #endif // DOMWindow_h |
| OLD | NEW |