| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 PassRefPtr<DOMPoint> webkitConvertPointFromPageToNode(Node*, const DOMPo
int*) const; | 228 PassRefPtr<DOMPoint> webkitConvertPointFromPageToNode(Node*, const DOMPo
int*) const; |
| 229 PassRefPtr<DOMPoint> webkitConvertPointFromNodeToPage(Node*, const DOMPo
int*) const; | 229 PassRefPtr<DOMPoint> webkitConvertPointFromNodeToPage(Node*, const DOMPo
int*) const; |
| 230 | 230 |
| 231 Console* console() const; | 231 Console* console() const; |
| 232 PageConsole* pageConsole() const; | 232 PageConsole* pageConsole() const; |
| 233 | 233 |
| 234 void printErrorMessage(const String&); | 234 void printErrorMessage(const String&); |
| 235 String crossDomainAccessErrorMessage(DOMWindow* activeWindow); | 235 String crossDomainAccessErrorMessage(DOMWindow* activeWindow); |
| 236 | 236 |
| 237 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionCode&); | 237 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag
ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionCode&); |
| 238 // Needed for Objective-C bindings (see bug 28774). | |
| 239 void postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort*
, const String& targetOrigin, DOMWindow* source, ExceptionCode&); | |
| 240 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); | 238 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); |
| 241 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtr<Event>, PassRefPtr<ScriptCallStack>); | 239 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO
rigin, PassRefPtr<Event>, PassRefPtr<ScriptCallStack>); |
| 242 | 240 |
| 243 void scrollBy(int x, int y) const; | 241 void scrollBy(int x, int y) const; |
| 244 void scrollTo(int x, int y) const; | 242 void scrollTo(int x, int y) const; |
| 245 void scroll(int x, int y) const { scrollTo(x, y); } | 243 void scroll(int x, int y) const { scrollTo(x, y); } |
| 246 | 244 |
| 247 void moveBy(float x, float y) const; | 245 void moveBy(float x, float y) const; |
| 248 void moveTo(float x, float y) const; | 246 void moveTo(float x, float y) const; |
| 249 | 247 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 } | 447 } |
| 450 | 448 |
| 451 inline String DOMWindow::defaultStatus() const | 449 inline String DOMWindow::defaultStatus() const |
| 452 { | 450 { |
| 453 return m_defaultStatus; | 451 return m_defaultStatus; |
| 454 } | 452 } |
| 455 | 453 |
| 456 } // namespace WebCore | 454 } // namespace WebCore |
| 457 | 455 |
| 458 #endif // DOMWindow_h | 456 #endif // DOMWindow_h |
| OLD | NEW |