summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLMeterElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLMeterElement.h')
-rw-r--r--WebCore/html/HTMLMeterElement.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/html/HTMLMeterElement.h b/WebCore/html/HTMLMeterElement.h
index a218584..cefad97 100644
--- a/WebCore/html/HTMLMeterElement.h
+++ b/WebCore/html/HTMLMeterElement.h
@@ -30,6 +30,12 @@ class HTMLMeterElement : public HTMLFormControlElement {
public:
static PassRefPtr<HTMLMeterElement> create(const QualifiedName&, Document*);
+ enum GaugeRegion {
+ GaugeRegionOptimum,
+ GaugeRegionSuboptimal,
+ GaugeRegionEvenLessGood
+ };
+
double min() const;
void setMin(double, ExceptionCode&);
@@ -48,6 +54,7 @@ public:
double optimum() const;
void setOptimum(double, ExceptionCode&);
+ GaugeRegion gaugeRegion() const;
private:
HTMLMeterElement(const QualifiedName&, Document*);