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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 double devicePixelRatio() const; | 215 double devicePixelRatio() const; |
216 | 216 |
217 PassRefPtr<DOMPoint> webkitConvertPointFromPageToNode(Node*, const DOMPo
int*) const; | 217 PassRefPtr<DOMPoint> webkitConvertPointFromPageToNode(Node*, const DOMPo
int*) const; |
218 PassRefPtr<DOMPoint> webkitConvertPointFromNodeToPage(Node*, const DOMPo
int*) const; | 218 PassRefPtr<DOMPoint> webkitConvertPointFromNodeToPage(Node*, const DOMPo
int*) const; |
219 | 219 |
220 Console* console() const; | 220 Console* console() const; |
221 PageConsole* pageConsole() const; | 221 PageConsole* pageConsole() const; |
222 | 222 |
223 void printErrorMessage(const String&); | 223 void printErrorMessage(const String&); |
224 String crossDomainAccessErrorMessage(DOMWindow* activeWindow); | 224 String crossDomainAccessErrorMessage(DOMWindow* activeWindow); |
| 225 String sanitizedCrossDomainAccessErrorMessage(DOMWindow* activeWindow); |
225 | 226 |
226 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); | 227 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); |
227 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); | 228 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); |
228 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtr<Event>, PassRefPtr<ScriptCallStack>); | 229 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtr<Event>, PassRefPtr<ScriptCallStack>); |
229 | 230 |
230 void scrollBy(int x, int y) const; | 231 void scrollBy(int x, int y) const; |
231 void scrollTo(int x, int y) const; | 232 void scrollTo(int x, int y) const; |
232 void scroll(int x, int y) const { scrollTo(x, y); } | 233 void scroll(int x, int y) const { scrollTo(x, y); } |
233 | 234 |
234 void moveBy(float x, float y) const; | 235 void moveBy(float x, float y) const; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 } | 435 } |
435 | 436 |
436 inline String DOMWindow::defaultStatus() const | 437 inline String DOMWindow::defaultStatus() const |
437 { | 438 { |
438 return m_defaultStatus; | 439 return m_defaultStatus; |
439 } | 440 } |
440 | 441 |
441 } // namespace WebCore | 442 } // namespace WebCore |
442 | 443 |
443 #endif // DOMWindow_h | 444 #endif // DOMWindow_h |
OLD | NEW |