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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 Console& console() const; | 225 Console& console() const; |
226 FrameConsole* frameConsole() const; | 226 FrameConsole* frameConsole() const; |
227 | 227 |
228 void printErrorMessage(const String&); | 228 void printErrorMessage(const String&); |
229 String crossDomainAccessErrorMessage(DOMWindow* callingWindow); | 229 String crossDomainAccessErrorMessage(DOMWindow* callingWindow); |
230 String sanitizedCrossDomainAccessErrorMessage(DOMWindow* callingWindow); | 230 String sanitizedCrossDomainAccessErrorMessage(DOMWindow* callingWindow); |
231 | 231 |
232 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); | 232 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); |
233 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); | 233 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); |
234 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtr<ScriptCallStack>); | 234 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); |
235 | 235 |
236 void scrollBy(int x, int y, const Dictionary& scrollOptions, ExceptionSt
ate&) const; | 236 void scrollBy(int x, int y, const Dictionary& scrollOptions, ExceptionSt
ate&) const; |
237 void scrollTo(int x, int y, const Dictionary& scrollOptions, ExceptionSt
ate&) const; | 237 void scrollTo(int x, int y, const Dictionary& scrollOptions, ExceptionSt
ate&) const; |
238 void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionStat
e& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } | 238 void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionStat
e& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } |
239 | 239 |
240 void moveBy(float x, float y) const; | 240 void moveBy(float x, float y) const; |
241 void moveTo(float x, float y) const; | 241 void moveTo(float x, float y) const; |
242 | 242 |
243 void resizeBy(float x, float y) const; | 243 void resizeBy(float x, float y) const; |
244 void resizeTo(float width, float height) const; | 244 void resizeTo(float width, float height) const; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 } | 400 } |
401 | 401 |
402 inline String DOMWindow::defaultStatus() const | 402 inline String DOMWindow::defaultStatus() const |
403 { | 403 { |
404 return m_defaultStatus; | 404 return m_defaultStatus; |
405 } | 405 } |
406 | 406 |
407 } // namespace WebCore | 407 } // namespace WebCore |
408 | 408 |
409 #endif // DOMWindow_h | 409 #endif // DOMWindow_h |
OLD | NEW |