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

Unified Diff: third_party/WebKit/Source/core/dom/Document.idl

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.idl
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl
index 38c5eeb5a2039053432b866841bf9a0a3815a52d..c6f7d4e8f9449f379713fef8d81720f8f41b5f18 100644
--- a/third_party/WebKit/Source/core/dom/Document.idl
+++ b/third_party/WebKit/Source/core/dom/Document.idl
@@ -61,8 +61,8 @@ interface Document : Node {
[NewObject] Comment createComment(DOMString data);
[NewObject, RaisesException] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
- [NewObject, CustomElementCallbacks, RaisesException] Node importNode(Node node, optional boolean deep = false);
- [RaisesException, CustomElementCallbacks] Node adoptNode(Node node);
+ [NewObject, CEReactions, CustomElementCallbacks, RaisesException] Node importNode(Node node, optional boolean deep = false);
+ [RaisesException, CEReactions, CustomElementCallbacks] Node adoptNode(Node node);
[NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DOMString localName);
[NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
@@ -104,9 +104,9 @@ interface Document : Node {
readonly attribute DocumentReadyState readyState;
// DOM tree accessors
- [CustomElementCallbacks] attribute DOMString title;
- [CustomElementCallbacks] attribute DOMString dir;
- [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings] attribute HTMLElement? body;
+ [CEReactions, CustomElementCallbacks] attribute DOMString title;
+ [CEReactions, CustomElementCallbacks] attribute DOMString dir;
+ [CEReactions, RaisesException=Setter, CustomElementCallbacks, PerWorldBindings] attribute HTMLElement? body;
readonly attribute HTMLHeadElement? head;
[SameObject, Measure] readonly attribute HTMLCollection images;
[SameObject, Measure] readonly attribute HTMLCollection embeds;
@@ -119,16 +119,16 @@ interface Document : Node {
// dynamic markup insertion
// FIXME: There are two open() methods in the spec.
- [Custom, CustomElementCallbacks, RaisesException] void open();
- [RaisesException] void close();
- [CallWith=EnteredWindow, CustomElementCallbacks, RaisesException] void write(DOMString... text);
- [CallWith=EnteredWindow, CustomElementCallbacks, RaisesException] void writeln(DOMString... text);
+ [Custom, CEReactions, CustomElementCallbacks, RaisesException] void open();
+ [CEReactions, RaisesException] void close();
+ [CallWith=EnteredWindow, CEReactions, CustomElementCallbacks, RaisesException] void write(DOMString... text);
+ [CallWith=EnteredWindow, CEReactions, CustomElementCallbacks, RaisesException] void writeln(DOMString... text);
// user interaction
[ImplementedAs=domWindow] readonly attribute Window? defaultView;
boolean hasFocus();
- [CustomElementCallbacks, MeasureAs=DocumentDesignMode] attribute DOMString designMode;
- [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = "");
+ [CEReactions, CustomElementCallbacks, MeasureAs=DocumentDesignMode] attribute DOMString designMode;
+ [CEReactions, CustomElementCallbacks, RaisesException] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = "");
[RaisesException] boolean queryCommandEnabled(DOMString commandId);
[RaisesException] boolean queryCommandIndeterm(DOMString commandId);
[RaisesException] boolean queryCommandState(DOMString commandId);

Powered by Google App Engine
This is Rietveld 408576698