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

Unified Diff: third_party/WebKit/Source/core/dom/Range.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/Range.idl
diff --git a/third_party/WebKit/Source/core/dom/Range.idl b/third_party/WebKit/Source/core/dom/Range.idl
index ed3807771cffb6391a87b5c78fd08bc2107a16b8..3855cfa34d2dbd0d3ee18142be0e78d94905dd81 100644
--- a/third_party/WebKit/Source/core/dom/Range.idl
+++ b/third_party/WebKit/Source/core/dom/Range.idl
@@ -48,11 +48,11 @@
const unsigned short END_TO_START = 3;
[RaisesException] short compareBoundaryPoints(unsigned short how, Range sourceRange);
- [RaisesException, CustomElementCallbacks] void deleteContents();
- [NewObject, RaisesException, CustomElementCallbacks] DocumentFragment extractContents();
- [NewObject, RaisesException, CustomElementCallbacks] DocumentFragment cloneContents();
- [RaisesException, CustomElementCallbacks] void insertNode(Node node);
- [RaisesException, CustomElementCallbacks] void surroundContents(Node newParent);
+ [RaisesException, CEReactions, CustomElementCallbacks] void deleteContents();
+ [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFragment extractContents();
+ [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFragment cloneContents();
+ [RaisesException, CEReactions, CustomElementCallbacks] void insertNode(Node node);
+ [RaisesException, CEReactions, CustomElementCallbacks] void surroundContents(Node newParent);
[NewObject] Range cloneRange();
[MeasureAs=RangeDetach] void detach();
@@ -73,7 +73,7 @@
// DOM Parsing and Serialization
// https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-the-range-interface
- [NewObject, RaisesException, CustomElementCallbacks] DocumentFragment createContextualFragment(DOMString fragment);
+ [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFragment createContextualFragment(DOMString fragment);
// Non-standard API
[RaisesException, DeprecateAs=RangeExpand] void expand([Default=Undefined] optional DOMString unit);
« no previous file with comments | « third_party/WebKit/Source/core/dom/ParentNode.idl ('k') | third_party/WebKit/Source/core/dom/custom/CustomElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698