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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 void moveTo(int x, int y, bool hasX, bool hasY) const override; | 140 void moveTo(int x, int y, bool hasX, bool hasY) const override; |
141 void resizeBy(int x, int y, bool hasX, bool hasY) const override; | 141 void resizeBy(int x, int y, bool hasX, bool hasY) const override; |
142 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov
erride; | 142 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov
erride; |
143 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; | 143 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; |
144 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const
String& pseudoElt) const override; | 144 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const
String& pseudoElt) const override; |
145 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin
g& pseudoElt) const override; | 145 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin
g& pseudoElt) const override; |
146 int requestAnimationFrame(FrameRequestCallback*) override; | 146 int requestAnimationFrame(FrameRequestCallback*) override; |
147 int webkitRequestAnimationFrame(FrameRequestCallback*) override; | 147 int webkitRequestAnimationFrame(FrameRequestCallback*) override; |
148 void cancelAnimationFrame(int id) override; | 148 void cancelAnimationFrame(int id) override; |
149 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo
w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack
Trace); | 149 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo
w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack
Trace); |
150 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override
; | |
151 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow)
override; | |
152 | 150 |
153 void registerProperty(DOMWindowProperty*); | 151 void registerProperty(DOMWindowProperty*); |
154 void unregisterProperty(DOMWindowProperty*); | 152 void unregisterProperty(DOMWindowProperty*); |
155 | 153 |
156 void reset(); | 154 void reset(); |
157 | 155 |
158 unsigned pendingUnloadEventListeners() const; | 156 unsigned pendingUnloadEventListeners() const; |
159 | 157 |
160 static IntRect adjustWindowRect(LocalFrame&, const IntRect& pendingChanges); | 158 static IntRect adjustWindowRect(LocalFrame&, const IntRect& pendingChanges); |
161 | 159 |
(...skipping 26 matching lines...) Expand all Loading... |
188 void finishedLoading(); | 186 void finishedLoading(); |
189 | 187 |
190 ApplicationCache* optionalApplicationCache() const { return m_applicationCac
he.get(); } | 188 ApplicationCache* optionalApplicationCache() const { return m_applicationCac
he.get(); } |
191 | 189 |
192 // Dispatch the (deprecated) orientationchange event to this DOMWindow and | 190 // Dispatch the (deprecated) orientationchange event to this DOMWindow and |
193 // recurse on its child frames. | 191 // recurse on its child frames. |
194 void sendOrientationChangeEvent(); | 192 void sendOrientationChangeEvent(); |
195 | 193 |
196 void willDetachDocumentFromFrame(); | 194 void willDetachDocumentFromFrame(); |
197 | 195 |
198 bool isInsecureScriptAccess(DOMWindow& callingWindow, const String& urlStrin
g) override; | |
199 | |
200 EventQueue* eventQueue() const; | 196 EventQueue* eventQueue() const; |
201 void enqueueWindowEvent(PassRefPtrWillBeRawPtr<Event>); | 197 void enqueueWindowEvent(PassRefPtrWillBeRawPtr<Event>); |
202 void enqueueDocumentEvent(PassRefPtrWillBeRawPtr<Event>); | 198 void enqueueDocumentEvent(PassRefPtrWillBeRawPtr<Event>); |
203 void enqueuePageshowEvent(PageshowEventPersistence); | 199 void enqueuePageshowEvent(PageshowEventPersistence); |
204 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); | 200 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); |
205 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); | 201 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); |
206 void dispatchWindowLoadEvent(); | 202 void dispatchWindowLoadEvent(); |
207 void documentWasClosed(); | 203 void documentWasClosed(); |
208 void statePopped(PassRefPtr<SerializedScriptValue>); | 204 void statePopped(PassRefPtr<SerializedScriptValue>); |
209 | 205 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 } | 290 } |
295 | 291 |
296 inline String LocalDOMWindow::defaultStatus() const | 292 inline String LocalDOMWindow::defaultStatus() const |
297 { | 293 { |
298 return m_defaultStatus; | 294 return m_defaultStatus; |
299 } | 295 } |
300 | 296 |
301 } // namespace blink | 297 } // namespace blink |
302 | 298 |
303 #endif // LocalDOMWindow_h | 299 #endif // LocalDOMWindow_h |
OLD | NEW |