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

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

Issue 1810973004: Add the CustomElementsRegistry interface behind the flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (merge conflict) Created 4 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 [Measure] void print(); 79 [Measure] 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, RuntimeEnabled=RequestIdleCallback] long requestIdleCallback(IdleR equestCallback callback, optional IdleRequestOptions options);
85 [RuntimeEnabled=RequestIdleCallback] void cancelIdleCallback(long handle); 85 [RuntimeEnabled=RequestIdleCallback] 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
90 // http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api
91 [RuntimeEnabled=CustomElementsV1] readonly attribute CustomElementsRegistry customElements;
92
89 // HTML obsolete features 93 // HTML obsolete features
90 // https://html.spec.whatwg.org/#Window-partial 94 // https://html.spec.whatwg.org/#Window-partial
91 [MeasureAs=WindowCaptureEvents] void captureEvents(); 95 [MeasureAs=WindowCaptureEvents] void captureEvents();
92 [MeasureAs=WindowReleaseEvents] void releaseEvents(); 96 [MeasureAs=WindowReleaseEvents] void releaseEvents();
93 97
94 // CSS Object Model (CSSOM) 98 // CSS Object Model (CSSOM)
95 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface 99 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface
96 // FIXME: The optional pseudoElt argument should have no default. 100 // FIXME: The optional pseudoElt argument should have no default.
97 [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional DOMSt ring? pseudoElt = null); 101 [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional DOMSt ring? pseudoElt = null);
98 102
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 201 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
198 // is in place. 202 // is in place.
199 // FIXME: consider putting this typedef in an .idl file containing spec-wide 203 // FIXME: consider putting this typedef in an .idl file containing spec-wide
200 // utility type definitions. 204 // utility type definitions.
201 typedef MessagePort Transferable; 205 typedef MessagePort Transferable;
202 206
203 Window implements GlobalEventHandlers; 207 Window implements GlobalEventHandlers;
204 Window implements WindowBase64; 208 Window implements WindowBase64;
205 Window implements WindowEventHandlers; 209 Window implements WindowEventHandlers;
206 Window implements WindowTimers; 210 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698