| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 double high() const; | 54 double high() const; |
| 55 void setHigh(double); | 55 void setHigh(double); |
| 56 | 56 |
| 57 double optimum() const; | 57 double optimum() const; |
| 58 void setOptimum(double); | 58 void setOptimum(double); |
| 59 | 59 |
| 60 double valueRatio() const; | 60 double valueRatio() const; |
| 61 GaugeRegion getGaugeRegion() const; | 61 GaugeRegion getGaugeRegion() const; |
| 62 | 62 |
| 63 bool canContainRangeEndPoint() const override { return false; } | 63 bool canContainRangeEndPoint() const override; |
| 64 | 64 |
| 65 DECLARE_VIRTUAL_TRACE(); | 65 DECLARE_VIRTUAL_TRACE(); |
| 66 | 66 |
| 67 private: | 67 private: |
| 68 explicit HTMLMeterElement(Document&); | 68 explicit HTMLMeterElement(Document&); |
| 69 ~HTMLMeterElement() override; | 69 ~HTMLMeterElement() override; |
| 70 | 70 |
| 71 bool areAuthorShadowsAllowed() const override { return false; } | 71 bool areAuthorShadowsAllowed() const override { return false; } |
| 72 | 72 |
| 73 bool supportLabels() const override { return true; } | 73 bool supportLabels() const override { return true; } |
| 74 | 74 |
| 75 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 75 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 76 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; | 76 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; |
| 77 | 77 |
| 78 void didElementStateChange(); | 78 void didElementStateChange(); |
| 79 void updateValueAppearance(double percentage); | 79 void updateValueAppearance(double percentage); |
| 80 void didAddUserAgentShadowRoot(ShadowRoot&) override; | 80 void didAddUserAgentShadowRoot(ShadowRoot&) override; |
| 81 | 81 |
| 82 Member<HTMLDivElement> m_value; | 82 Member<HTMLDivElement> m_value; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| 86 | 86 |
| 87 #endif // HTMLMeterElement_h | 87 #endif // HTMLMeterElement_h |
| OLD | NEW |