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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 Element* frameElement() const; | 162 Element* frameElement() const; |
163 | 163 |
164 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, |
165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); | 165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); |
166 | 166 |
167 FrameConsole* frameConsole() const; | 167 FrameConsole* frameConsole() const; |
168 | 168 |
169 void printErrorMessage(const String&); | 169 void printErrorMessage(const String&); |
170 | 170 |
171 void postMessageTimerFired(PostMessageTimer*); | 171 void postMessageTimerFired(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 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) override; | 177 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) override; |
177 virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<E
ventListener>, bool useCapture = false) override; | 178 virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<E
ventListener>, bool useCapture = false) override; |
178 virtual void removeAllEventListeners() override; | 179 virtual void removeAllEventListeners() override; |
179 | 180 |
180 using EventTarget::dispatchEvent; | 181 using EventTarget::dispatchEvent; |
181 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR
awPtr<EventTarget> prpTarget); | 182 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR
awPtr<EventTarget> prpTarget); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 } | 288 } |
288 | 289 |
289 inline String LocalDOMWindow::defaultStatus() const | 290 inline String LocalDOMWindow::defaultStatus() const |
290 { | 291 { |
291 return m_defaultStatus; | 292 return m_defaultStatus; |
292 } | 293 } |
293 | 294 |
294 } // namespace blink | 295 } // namespace blink |
295 | 296 |
296 #endif // LocalDOMWindow_h | 297 #endif // LocalDOMWindow_h |
OLD | NEW |