| 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); | |
| 226 | 225 |
| 227 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); | 226 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); |
| 228 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); | 227 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); |
| 229 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtr<Event>, PassRefPtr<ScriptCallStack>); | 228 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtr<Event>, PassRefPtr<ScriptCallStack>); |
| 230 | 229 |
| 231 void scrollBy(int x, int y) const; | 230 void scrollBy(int x, int y) const; |
| 232 void scrollTo(int x, int y) const; | 231 void scrollTo(int x, int y) const; |
| 233 void scroll(int x, int y) const { scrollTo(x, y); } | 232 void scroll(int x, int y) const { scrollTo(x, y); } |
| 234 | 233 |
| 235 void moveBy(float x, float y) const; | 234 void moveBy(float x, float y) const; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 } | 434 } |
| 436 | 435 |
| 437 inline String DOMWindow::defaultStatus() const | 436 inline String DOMWindow::defaultStatus() const |
| 438 { | 437 { |
| 439 return m_defaultStatus; | 438 return m_defaultStatus; |
| 440 } | 439 } |
| 441 | 440 |
| 442 } // namespace WebCore | 441 } // namespace WebCore |
| 443 | 442 |
| 444 #endif // DOMWindow_h | 443 #endif // DOMWindow_h |
| OLD | NEW |