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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 void scroll(int x, int y) const { scrollTo(x, y); } | 238 void scroll(int x, int y) const { scrollTo(x, y); } |
239 void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionState& e
xceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } | 239 void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionState& e
xceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } |
240 | 240 |
241 void moveBy(float x, float y) const; | 241 void moveBy(float x, float y) const; |
242 void moveTo(float x, float y) const; | 242 void moveTo(float x, float y) const; |
243 | 243 |
244 void resizeBy(float x, float y) const; | 244 void resizeBy(float x, float y) const; |
245 void resizeTo(float width, float height) const; | 245 void resizeTo(float width, float height) const; |
246 | 246 |
247 // WebKit animation extensions | 247 // WebKit animation extensions |
248 int requestAnimationFrame(PassOwnPtrWillBeRawPtr<RequestAnimationFrameCallba
ck>); | 248 int requestAnimationFrame(RequestAnimationFrameCallback*); |
249 int webkitRequestAnimationFrame(PassOwnPtrWillBeRawPtr<RequestAnimationFrame
Callback>); | 249 int webkitRequestAnimationFrame(RequestAnimationFrameCallback*); |
250 void cancelAnimationFrame(int id); | 250 void cancelAnimationFrame(int id); |
251 | 251 |
252 DOMWindowCSS& css() const; | 252 DOMWindowCSS& css() const; |
253 | 253 |
254 // Events | 254 // Events |
255 // EventTarget API | 255 // EventTarget API |
256 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE; | 256 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE; |
257 virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<E
ventListener>, bool useCapture = false) OVERRIDE; | 257 virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<E
ventListener>, bool useCapture = false) OVERRIDE; |
258 virtual void removeAllEventListeners() OVERRIDE; | 258 virtual void removeAllEventListeners() OVERRIDE; |
259 | 259 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 } | 404 } |
405 | 405 |
406 inline String LocalDOMWindow::defaultStatus() const | 406 inline String LocalDOMWindow::defaultStatus() const |
407 { | 407 { |
408 return m_defaultStatus; | 408 return m_defaultStatus; |
409 } | 409 } |
410 | 410 |
411 } // namespace blink | 411 } // namespace blink |
412 | 412 |
413 #endif // LocalDOMWindow_h | 413 #endif // LocalDOMWindow_h |
OLD | NEW |