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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextAreaElement.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/html/HTMLTextAreaElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl
index a9d8c8ec95081f7002c5385c7a348986bda7e03c..80641f0d29c29c150e283c723a7f72881a85f57b 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl
@@ -23,13 +23,13 @@
interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete;
- [CEReactions, Reflect] attribute boolean autofocus;
+ [Measure, CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute unsigned long cols;
- [CEReactions, Reflect] attribute DOMString dirName;
+ [Measure, CEReactions, Reflect] attribute DOMString dirName;
[CEReactions, Reflect] attribute boolean disabled;
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
- [CEReactions, RaisesException=Setter] attribute long maxLength;
- [CEReactions, RaisesException=Setter] attribute long minLength;
+ [Measure, CEReactions, RaisesException=Setter] attribute long maxLength;
+ [Measure, CEReactions, RaisesException=Setter] attribute long minLength;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString placeholder;
[CEReactions, Reflect] attribute boolean readOnly;
@@ -40,24 +40,24 @@ interface HTMLTextAreaElement : HTMLElement {
readonly attribute DOMString type;
[CEReactions] attribute DOMString defaultValue;
[CEReactions, TreatNullAs=NullString] attribute DOMString value;
- readonly attribute unsigned long textLength;
+ [Measure] readonly attribute unsigned long textLength;
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- boolean reportValidity();
- void setCustomValidity(DOMString error);
+ [MeasureAs=ValidationAPI] readonly attribute boolean willValidate;
+ [MeasureAs=ValidationAPI] readonly attribute ValidityState validity;
+ [MeasureAs=ValidationAPI] readonly attribute DOMString validationMessage;
+ [MeasureAs=ValidationAPI] boolean checkValidity();
+ [MeasureAs=ValidationAPI] boolean reportValidity();
+ [MeasureAs=ValidationAPI] void setCustomValidity(DOMString error);
readonly attribute NodeList labels;
- void select();
+ [Measure] void select();
// TODO(foolip): selectionStart and selectionEnd should be unsigned long.
attribute long selectionStart;
attribute long selectionEnd;
attribute DOMString selectionDirection;
- [RaisesException] void setRangeText(DOMString replacement);
- [RaisesException] void setRangeText(DOMString replacement,
+ [Measure, RaisesException] void setRangeText(DOMString replacement);
+ [Measure, RaisesException] void setRangeText(DOMString replacement,
unsigned long start,
unsigned long end,
optional SelectionMode selectionMode = "preserve");

Powered by Google App Engine
This is Rietveld 408576698