| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 } | 75 } |
| 76 | 76 |
| 77 ~LocalDOMWindow() override; | 77 ~LocalDOMWindow() override; |
| 78 | 78 |
| 79 DECLARE_VIRTUAL_TRACE(); | 79 DECLARE_VIRTUAL_TRACE(); |
| 80 | 80 |
| 81 PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType,
const DocumentInit&, bool forceXHTML = false); | 81 PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType,
const DocumentInit&, bool forceXHTML = false); |
| 82 | 82 |
| 83 // EventTarget overrides: | 83 // EventTarget overrides: |
| 84 ExecutionContext* executionContext() const override; | 84 ExecutionContext* executionContext() const override; |
| 85 const LocalDOMWindow* toDOMWindow() const override; |
| 85 LocalDOMWindow* toDOMWindow() override; | 86 LocalDOMWindow* toDOMWindow() override; |
| 86 | 87 |
| 87 // DOMWindow overrides: | 88 // DOMWindow overrides: |
| 88 bool isLocalDOMWindow() const override { return true; } | 89 bool isLocalDOMWindow() const override { return true; } |
| 89 LocalFrame* frame() const override; | 90 LocalFrame* frame() const override; |
| 90 Screen* screen() const override; | 91 Screen* screen() const override; |
| 91 History* history() const override; | 92 History* history() const override; |
| 92 BarProp* locationbar() const override; | 93 BarProp* locationbar() const override; |
| 93 BarProp* menubar() const override; | 94 BarProp* menubar() const override; |
| 94 BarProp* personalbar() const override; | 95 BarProp* personalbar() const override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 bool allowPopUp(); // Call on first window, not target window. | 159 bool allowPopUp(); // Call on first window, not target window. |
| 159 static bool allowPopUp(LocalFrame& firstFrame); | 160 static bool allowPopUp(LocalFrame& firstFrame); |
| 160 | 161 |
| 161 Element* frameElement() const; | 162 Element* frameElement() const; |
| 162 | 163 |
| 163 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, |
| 164 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); | 165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); |
| 165 | 166 |
| 166 FrameConsole* frameConsole() const; | 167 FrameConsole* frameConsole() const; |
| 167 | 168 |
| 168 void printErrorMessage(const String&); | 169 void printErrorMessage(const String&) const; |
| 169 | 170 |
| 170 void postMessageTimerFired(PostMessageTimer*); | 171 void postMessageTimerFired(PostMessageTimer*); |
| 171 void removePostMessageTimer(PostMessageTimer*); | 172 void removePostMessageTimer(PostMessageTimer*); |
| 172 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi
n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); | 173 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi
n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); |
| 173 | 174 |
| 174 // Events | 175 // Events |
| 175 // EventTarget API | 176 // EventTarget API |
| 176 void removeAllEventListeners() override; | 177 void removeAllEventListeners() override; |
| 177 | 178 |
| 178 using EventTarget::dispatchEvent; | 179 using EventTarget::dispatchEvent; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 } | 290 } |
| 290 | 291 |
| 291 inline String LocalDOMWindow::defaultStatus() const | 292 inline String LocalDOMWindow::defaultStatus() const |
| 292 { | 293 { |
| 293 return m_defaultStatus; | 294 return m_defaultStatus; |
| 294 } | 295 } |
| 295 | 296 |
| 296 } // namespace blink | 297 } // namespace blink |
| 297 | 298 |
| 298 #endif // LocalDOMWindow_h | 299 #endif // LocalDOMWindow_h |
| OLD | NEW |