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

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

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 4 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void moveBy(int x, int y) const override; 137 void moveBy(int x, int y) const override;
138 void moveTo(int x, int y) const override; 138 void moveTo(int x, int y) const override;
139 void resizeBy(int x, int y) const override; 139 void resizeBy(int x, int y) const override;
140 void resizeTo(int width, int height) const override; 140 void resizeTo(int width, int height) const override;
141 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; 141 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
142 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override; 142 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
143 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override; 143 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override;
144 int requestAnimationFrame(FrameRequestCallback*) override; 144 int requestAnimationFrame(FrameRequestCallback*) override;
145 int webkitRequestAnimationFrame(FrameRequestCallback*) override; 145 int webkitRequestAnimationFrame(FrameRequestCallback*) override;
146 void cancelAnimationFrame(int id) override; 146 void cancelAnimationFrame(int id) override;
147 int requestIdleCallback(IdleRequestCallback*, double timeoutMillis) override ;
148 void cancelIdleCallback(int id) override;
147 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);
148 150
149 void registerProperty(DOMWindowProperty*); 151 void registerProperty(DOMWindowProperty*);
150 void unregisterProperty(DOMWindowProperty*); 152 void unregisterProperty(DOMWindowProperty*);
151 153
152 void reset(); 154 void reset();
153 155
154 unsigned pendingUnloadEventListeners() const; 156 unsigned pendingUnloadEventListeners() const;
155 157
156 bool allowPopUp(); // Call on first window, not target window. 158 bool allowPopUp(); // Call on first window, not target window.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 } 286 }
285 287
286 inline String LocalDOMWindow::defaultStatus() const 288 inline String LocalDOMWindow::defaultStatus() const
287 { 289 {
288 return m_defaultStatus; 290 return m_defaultStatus;
289 } 291 }
290 292
291 } // namespace blink 293 } // namespace blink
292 294
293 #endif // LocalDOMWindow_h 295 #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