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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override
; | 149 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override
; |
150 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow)
override; | 150 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow)
override; |
151 | 151 |
152 void registerProperty(DOMWindowProperty*); | 152 void registerProperty(DOMWindowProperty*); |
153 void unregisterProperty(DOMWindowProperty*); | 153 void unregisterProperty(DOMWindowProperty*); |
154 | 154 |
155 void reset(); | 155 void reset(); |
156 | 156 |
157 unsigned pendingUnloadEventListeners() const; | 157 unsigned pendingUnloadEventListeners() const; |
158 | 158 |
159 static IntRect adjustWindowRect(LocalFrame&, const IntRect& pendingChanges); | |
160 | |
161 bool allowPopUp(); // Call on first window, not target window. | 159 bool allowPopUp(); // Call on first window, not target window. |
162 static bool allowPopUp(LocalFrame& firstFrame); | 160 static bool allowPopUp(LocalFrame& firstFrame); |
163 | 161 |
164 Element* frameElement() const; | 162 Element* frameElement() const; |
165 | 163 |
166 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const Atomic
String& frameName, const String& windowFeaturesString, | 164 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const Atomic
String& frameName, const String& windowFeaturesString, |
167 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); | 165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); |
168 | 166 |
169 FrameConsole* frameConsole() const; | 167 FrameConsole* frameConsole() const; |
170 | 168 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 } | 291 } |
294 | 292 |
295 inline String LocalDOMWindow::defaultStatus() const | 293 inline String LocalDOMWindow::defaultStatus() const |
296 { | 294 { |
297 return m_defaultStatus; | 295 return m_defaultStatus; |
298 } | 296 } |
299 | 297 |
300 } // namespace blink | 298 } // namespace blink |
301 | 299 |
302 #endif // LocalDOMWindow_h | 300 #endif // LocalDOMWindow_h |
OLD | NEW |