Commit 4e06646c authored by philipj@opera.com's avatar philipj@opera.com

Add UseCounters for non-standard, internally unused reflected attributes

http://whatwg.org/html#htmlhtmlelement
http://whatwg.org/html#htmlmetaelement
http://whatwg.org/html#htmlobjectelement
http://whatwg.org/html#htmltablecellelement

None of these attributes are used internally, so the only way sites
can depend on them is via these bindings.

Review URL: https://codereview.chromium.org/428893002

git-svn-id: svn://svn.chromium.org/blink/trunk@179140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent ed456d3c
...@@ -486,6 +486,11 @@ public: ...@@ -486,6 +486,11 @@ public:
WheelEventWheelDelta = 493, WheelEventWheelDelta = 493,
SendBeacon = 494, SendBeacon = 494,
SendBeaconQuotaExceeded = 495, SendBeaconQuotaExceeded = 495,
HTMLHtmlElementVersion = 496,
HTMLMetaElementScheme = 497,
HTMLObjectElementStandby = 498,
HTMLTableCellElementChar = 499,
HTMLTableCellElementCharOff = 500,
// Add new features immediately above this line. Don't change assigned // Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots. // numbers of any item, and don't reuse removed slots.
// Also, run update_use_counter_feature_enum.py in chromium/src/tools/metrics/histograms/ // Also, run update_use_counter_feature_enum.py in chromium/src/tools/metrics/histograms/
......
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
*/ */
interface HTMLHtmlElement : HTMLElement { interface HTMLHtmlElement : HTMLElement {
[Reflect] attribute DOMString version; [Reflect, MeasureAs=HTMLHtmlElementVersion] attribute DOMString version;
}; };
...@@ -21,5 +21,5 @@ interface HTMLMetaElement : HTMLElement { ...@@ -21,5 +21,5 @@ interface HTMLMetaElement : HTMLElement {
[Reflect] attribute DOMString content; [Reflect] attribute DOMString content;
[Reflect=http_equiv] attribute DOMString httpEquiv; [Reflect=http_equiv] attribute DOMString httpEquiv;
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString scheme; [Reflect, MeasureAs=HTMLMetaElementScheme] attribute DOMString scheme;
}; };
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
[Reflect] attribute DOMString height; [Reflect] attribute DOMString height;
[Reflect] attribute long hspace; [Reflect] attribute long hspace;
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString standby; [Reflect, MeasureAs=HTMLObjectElementStandby] attribute DOMString standby;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;
[Reflect] attribute DOMString useMap; [Reflect] attribute DOMString useMap;
[Reflect] attribute long vspace; [Reflect] attribute long vspace;
......
...@@ -24,8 +24,8 @@ interface HTMLTableCellElement : HTMLElement { ...@@ -24,8 +24,8 @@ interface HTMLTableCellElement : HTMLElement {
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
[Reflect] attribute DOMString axis; [Reflect] attribute DOMString axis;
[Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor; [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
[Reflect=char] attribute DOMString ch; [Reflect=char, MeasureAs=HTMLTableCellElementChar] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff; [Reflect=charoff, MeasureAs=HTMLTableCellElementCharOff] attribute DOMString chOff;
attribute long colSpan; attribute long colSpan;
[Reflect, TreatNullAs=NullString] attribute DOMString headers; [Reflect, TreatNullAs=NullString] attribute DOMString headers;
[Reflect] attribute DOMString height; [Reflect] attribute DOMString height;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment