| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 double high() const; | 55 double high() const; |
| 56 void setHigh(double); | 56 void setHigh(double); |
| 57 | 57 |
| 58 double optimum() const; | 58 double optimum() const; |
| 59 void setOptimum(double); | 59 void setOptimum(double); |
| 60 | 60 |
| 61 double valueRatio() const; | 61 double valueRatio() const; |
| 62 GaugeRegion gaugeRegion() const; | 62 GaugeRegion gaugeRegion() const; |
| 63 | 63 |
| 64 virtual bool canContainRangeEndPoint() const override { return false; } | 64 bool canContainRangeEndPoint() const override { return false; } |
| 65 | 65 |
| 66 DECLARE_VIRTUAL_TRACE(); | 66 DECLARE_VIRTUAL_TRACE(); |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 explicit HTMLMeterElement(Document&); | 69 explicit HTMLMeterElement(Document&); |
| 70 virtual ~HTMLMeterElement(); | 70 ~HTMLMeterElement() override; |
| 71 | 71 |
| 72 virtual bool areAuthorShadowsAllowed() const override { return false; } | 72 bool areAuthorShadowsAllowed() const override { return false; } |
| 73 virtual void willAddFirstOpenShadowRoot() override; | 73 void willAddFirstOpenShadowRoot() override; |
| 74 LayoutMeter* layoutMeter() const; | 74 LayoutMeter* layoutMeter() const; |
| 75 | 75 |
| 76 virtual bool supportLabels() const override { return true; } | 76 bool supportLabels() const override { return true; } |
| 77 | 77 |
| 78 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 78 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 79 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 79 void parseAttribute(const QualifiedName&, const AtomicString&) override; |
| 80 | 80 |
| 81 void didElementStateChange(); | 81 void didElementStateChange(); |
| 82 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; | 82 void didAddUserAgentShadowRoot(ShadowRoot&) override; |
| 83 | 83 |
| 84 RefPtrWillBeMember<MeterValueElement> m_value; | 84 RefPtrWillBeMember<MeterValueElement> m_value; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace blink | 87 } // namespace blink |
| 88 | 88 |
| 89 #endif // HTMLMeterElement_h | 89 #endif // HTMLMeterElement_h |
| OLD | NEW |