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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge Created 4 years 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/shadow/ShadowRoot.idl
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
index fd0affcca3489707348b734f22660aa335508a20..00db73a71c98d180d0462e733e944655fe4aa8bc 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
@@ -27,17 +27,17 @@
// https://w3c.github.io/webcomponents/spec/shadow/#the-shadowroot-interface
interface ShadowRoot : DocumentFragment {
- readonly attribute ShadowRootMode mode;
- readonly attribute Element host;
- [ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot? olderShadowRoot;
- [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
- readonly attribute boolean delegatesFocus;
+ [Measure] readonly attribute ShadowRootMode mode;
+ [Measure] readonly attribute Element host;
+ [Measure, ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot? olderShadowRoot;
+ [Measure, TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
+ [Measure] readonly attribute boolean delegatesFocus;
// TODO(foolip): The spec does not override cloneNode() on the ShadowRoot
// interface. Here, it's used to implement "Invoking the cloneNode() method
// on a ShadowRoot instance must always throw a DATA_CLONE_ERR exception" as
// Node.cloneNode() does not have [RaisesException].
- [RaisesException] Node cloneNode(optional boolean deep = false);
+ [Measure, RaisesException] Node cloneNode(optional boolean deep = false);
};
ShadowRoot implements DocumentOrShadowRoot;

Powered by Google App Engine
This is Rietveld 408576698