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

Side by Side Diff: third_party/WebKit/Source/core/frame/Window.idl

Issue 2346373002: Remove RequestIdleCallback runtime flag (status=stable) (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // user prompts 74 // user prompts
75 [Measure, CallWith=ScriptState] void alert(); 75 [Measure, CallWith=ScriptState] void alert();
76 [Measure, CallWith=ScriptState] void alert(DOMString message); 76 [Measure, CallWith=ScriptState] void alert(DOMString message);
77 [Measure, CallWith=ScriptState] boolean confirm(optional DOMString message = ""); 77 [Measure, CallWith=ScriptState] boolean confirm(optional DOMString message = "");
78 [Measure, CallWith=ScriptState] DOMString? prompt(optional DOMString message = "", optional DOMString defaultValue = ""); 78 [Measure, CallWith=ScriptState] DOMString? prompt(optional DOMString message = "", optional DOMString defaultValue = "");
79 [Measure, CallWith=ScriptState] void print(); 79 [Measure, CallWith=ScriptState] void print();
80 80
81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Frame RequestCallback callback); 81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Frame RequestCallback callback);
82 void cancelAnimationFrame(long handle); 82 void cancelAnimationFrame(long handle);
83 83
84 [Measure, RuntimeEnabled=RequestIdleCallback] long requestIdleCallback(IdleR equestCallback callback, optional IdleRequestOptions options); 84 [Measure] long requestIdleCallback(IdleRequestCallback callback, optional Id leRequestOptions options);
85 [RuntimeEnabled=RequestIdleCallback] void cancelIdleCallback(long handle); 85 void cancelIdleCallback(long handle);
86 86
87 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer); 87 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer);
88 88
89 // Custom elements 89 // Custom elements
90 // http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api 90 // http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api
91 [RuntimeEnabled=CustomElementsV1, CallWith=ScriptState] readonly attribute C ustomElementRegistry customElements; 91 [RuntimeEnabled=CustomElementsV1, CallWith=ScriptState] readonly attribute C ustomElementRegistry customElements;
92 92
93 // HTML obsolete features 93 // HTML obsolete features
94 // https://html.spec.whatwg.org/#Window-partial 94 // https://html.spec.whatwg.org/#Window-partial
95 [MeasureAs=WindowCaptureEvents] void captureEvents(); 95 [MeasureAs=WindowCaptureEvents] void captureEvents();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
210 // is in place. 210 // is in place.
211 // FIXME: consider putting this typedef in an .idl file containing spec-wide 211 // FIXME: consider putting this typedef in an .idl file containing spec-wide
212 // utility type definitions. 212 // utility type definitions.
213 typedef MessagePort Transferable; 213 typedef MessagePort Transferable;
214 214
215 Window implements GlobalEventHandlers; 215 Window implements GlobalEventHandlers;
216 Window implements WindowBase64; 216 Window implements WindowBase64;
217 Window implements WindowEventHandlers; 217 Window implements WindowEventHandlers;
218 Window implements WindowTimers; 218 Window implements WindowTimers;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698