| Index: third_party/WebKit/Source/bindings/IDLExtendedAttributes.md
|
| diff --git a/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md b/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md
|
| index 305edbd634d06c8c410ff943a2f14245c6478b6d..39fde29ab56042274f3a4778461dece596be681f 100644
|
| --- a/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md
|
| +++ b/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md
|
| @@ -983,13 +983,13 @@ for (var value of iter) {
|
| Currently the code generator doesn't take care of the name conflict. Namely, it is not allowed to have "iterator" method in an iterable interface.
|
| ***
|
|
|
| -### [Measure] _(m, a, c)_
|
| +### [Measure] _(i, m, a, c)_
|
|
|
| Summary: Measures usage of a specific feature via UseCounter.
|
|
|
| In order to measure usage of specific features, Chrome submits anonymous statistics through the Histogram recording system for users who opt-in to sharing usage statistics. This extended attribute hooks up a specific feature to this measurement system.
|
|
|
| -Usage: `[Measure]` can be specified on methods, attributes, and constants. The generated feature name must be added to [UseCounter::Feature](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h&q=%22enum%20Feature%22&sq=package:chromium&type=cs&l=61) (in [core/frame/UseCounter.h](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h)).
|
| +Usage: `[Measure]` can be specified on interfaces, methods, attributes, and constants. When specified on an interface usage of the constructor will be measured. The generated feature name must be added to [UseCounter::Feature](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h&q=%22enum%20Feature%22&sq=package:chromium&type=cs&l=61) (in [core/frame/UseCounter.h](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h)).
|
|
|
| ```webidl
|
| [Measure] attribute Node interestingAttribute;
|
| @@ -997,12 +997,12 @@ Usage: `[Measure]` can be specified on methods, attributes, and constants. The g
|
| [Measure] const INTERESTING_CONSTANT = 1;
|
| ```
|
|
|
| -### [MeasureAs] _(m, a, c)_
|
| +### [MeasureAs] _(i, m, a, c)_
|
|
|
| Summary: Like `[Measure]`, but the feature name is provided as the extended attribute value.
|
| This is similar to the standard `[DeprecateAs]` extended attribute, but does not display a deprecation warning.
|
|
|
| -Usage: `[MeasureAs]` can be specified on methods, attributes, and constants. The value must match one of the enumeration values in [UseCounter::Feature](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h&q=%22enum%20Feature%22&sq=package:chromium&type=cs&l=61) (in [core/frame/UseCounter.h](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h)).
|
| +Usage: `[MeasureAs]` can be specified on interfaces, methods, attributes, and constants. The value must match one of the enumeration values in [UseCounter::Feature](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h&q=%22enum%20Feature%22&sq=package:chromium&type=cs&l=61) (in [core/frame/UseCounter.h](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/UseCounter.h)).
|
|
|
| ```webidl
|
| [MeasureAs=AttributeWeAreInterestedIn] attribute Node interestingAttribute;
|
|
|