| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 void scrollTo(int x, int y) const; | 231 void scrollTo(int x, int y) const; |
| 232 void scroll(int x, int y) const { scrollTo(x, y); } | 232 void scroll(int x, int y) const { scrollTo(x, y); } |
| 233 | 233 |
| 234 void moveBy(float x, float y) const; | 234 void moveBy(float x, float y) const; |
| 235 void moveTo(float x, float y) const; | 235 void moveTo(float x, float y) const; |
| 236 | 236 |
| 237 void resizeBy(float x, float y) const; | 237 void resizeBy(float x, float y) const; |
| 238 void resizeTo(float width, float height) const; | 238 void resizeTo(float width, float height) const; |
| 239 | 239 |
| 240 // WebKit animation extensions | 240 // WebKit animation extensions |
| 241 int requestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback>); | 241 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); |
| 242 int webkitRequestAnimationFrame(PassRefPtr<RequestAnimationFrameCallback
>); | 242 int webkitRequestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback
>); |
| 243 void cancelAnimationFrame(int id); | 243 void cancelAnimationFrame(int id); |
| 244 | 244 |
| 245 DOMWindowCSS* css(); | 245 DOMWindowCSS* css(); |
| 246 | 246 |
| 247 // Events | 247 // Events |
| 248 // EventTarget API | 248 // EventTarget API |
| 249 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture) OVERRIDE; | 249 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<
EventListener>, bool useCapture) OVERRIDE; |
| 250 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture) OVERRIDE; | 250 virtual bool removeEventListener(const AtomicString& eventType, EventLis
tener*, bool useCapture) OVERRIDE; |
| 251 virtual void removeAllEventListeners() OVERRIDE; | 251 virtual void removeAllEventListeners() OVERRIDE; |
| 252 | 252 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 } | 381 } |
| 382 | 382 |
| 383 inline String DOMWindow::defaultStatus() const | 383 inline String DOMWindow::defaultStatus() const |
| 384 { | 384 { |
| 385 return m_defaultStatus; | 385 return m_defaultStatus; |
| 386 } | 386 } |
| 387 | 387 |
| 388 } // namespace WebCore | 388 } // namespace WebCore |
| 389 | 389 |
| 390 #endif // DOMWindow_h | 390 #endif // DOMWindow_h |
| OLD | NEW |