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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 void scroll(double x, double y) const { scrollTo(x, y); } | 229 void scroll(double x, double y) const { scrollTo(x, y); } |
230 void scroll(double x, double y, const ScrollOptions& scrollOptions, Exceptio
nState& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } | 230 void scroll(double x, double y, const ScrollOptions& scrollOptions, Exceptio
nState& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } |
231 | 231 |
232 void moveBy(float x, float y) const; | 232 void moveBy(float x, float y) const; |
233 void moveTo(float x, float y) const; | 233 void moveTo(float x, float y) const; |
234 | 234 |
235 void resizeBy(float x, float y) const; | 235 void resizeBy(float x, float y) const; |
236 void resizeTo(float width, float height) const; | 236 void resizeTo(float width, float height) const; |
237 | 237 |
238 // WebKit animation extensions | 238 // WebKit animation extensions |
239 int requestAnimationFrame(PassOwnPtrWillBeRawPtr<RequestAnimationFrameCallba
ck>); | 239 int requestAnimationFrame(RequestAnimationFrameCallback*); |
240 int webkitRequestAnimationFrame(PassOwnPtrWillBeRawPtr<RequestAnimationFrame
Callback>); | 240 int webkitRequestAnimationFrame(RequestAnimationFrameCallback*); |
241 void cancelAnimationFrame(int id); | 241 void cancelAnimationFrame(int id); |
242 | 242 |
243 DOMWindowCSS& css() const; | 243 DOMWindowCSS& css() const; |
244 | 244 |
245 // Events | 245 // Events |
246 // EventTarget API | 246 // EventTarget API |
247 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE; | 247 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE; |
248 virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<E
ventListener>, bool useCapture = false) OVERRIDE; | 248 virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<E
ventListener>, bool useCapture = false) OVERRIDE; |
249 virtual void removeAllEventListeners() OVERRIDE; | 249 virtual void removeAllEventListeners() OVERRIDE; |
250 | 250 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 } | 395 } |
396 | 396 |
397 inline String LocalDOMWindow::defaultStatus() const | 397 inline String LocalDOMWindow::defaultStatus() const |
398 { | 398 { |
399 return m_defaultStatus; | 399 return m_defaultStatus; |
400 } | 400 } |
401 | 401 |
402 } // namespace blink | 402 } // namespace blink |
403 | 403 |
404 #endif // LocalDOMWindow_h | 404 #endif // LocalDOMWindow_h |
OLD | NEW |