Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: Source/core/frame/LocalDOMWindow.h

Issue 1043903003: rAF: Introduce FrameRequestCallbackCollection for managing rAF callbacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void scrollTo(double x, double y) const override; 136 void scrollTo(double x, double y) const override;
137 void scrollTo(const ScrollToOptions&) const override; 137 void scrollTo(const ScrollToOptions&) const override;
138 138
139 void moveBy(int x, int y, bool hasX, bool hasY) const override; 139 void moveBy(int x, int y, bool hasX, bool hasY) const override;
140 void moveTo(int x, int y, bool hasX, bool hasY) const override; 140 void moveTo(int x, int y, bool hasX, bool hasY) const override;
141 void resizeBy(int x, int y, bool hasX, bool hasY) const override; 141 void resizeBy(int x, int y, bool hasX, bool hasY) const override;
142 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov erride; 142 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov erride;
143 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; 143 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
144 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override; 144 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
145 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override; 145 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override;
146 int requestAnimationFrame(RequestAnimationFrameCallback*) override; 146 int requestAnimationFrame(FrameRequestCallback*) override;
147 int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) override; 147 int webkitRequestAnimationFrame(FrameRequestCallback*) override;
148 void cancelAnimationFrame(int id) override; 148 void cancelAnimationFrame(int id) override;
149 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace); 149 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace);
150 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override ; 150 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override ;
151 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override; 151 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override;
152 152
153 void registerProperty(DOMWindowProperty*); 153 void registerProperty(DOMWindowProperty*);
154 void unregisterProperty(DOMWindowProperty*); 154 void unregisterProperty(DOMWindowProperty*);
155 155
156 void reset(); 156 void reset();
157 157
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 } 294 }
295 295
296 inline String LocalDOMWindow::defaultStatus() const 296 inline String LocalDOMWindow::defaultStatus() const
297 { 297 {
298 return m_defaultStatus; 298 return m_defaultStatus;
299 } 299 }
300 300
301 } // namespace blink 301 } // namespace blink
302 302
303 #endif // LocalDOMWindow_h 303 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698