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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 private: | 52 private: |
53 explicit HTMLProgressElement(Document&); | 53 explicit HTMLProgressElement(Document&); |
54 virtual ~HTMLProgressElement(); | 54 virtual ~HTMLProgressElement(); |
55 | 55 |
56 virtual bool areAuthorShadowsAllowed() const override { return false; } | 56 virtual bool areAuthorShadowsAllowed() const override { return false; } |
57 virtual void willAddFirstOpenShadowRoot() override; | 57 virtual void willAddFirstOpenShadowRoot() override; |
58 virtual bool shouldAppearIndeterminate() const override; | 58 virtual bool shouldAppearIndeterminate() const override; |
59 virtual bool supportLabels() const override { return true; } | 59 virtual bool supportLabels() const override { return true; } |
60 | 60 |
61 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; | 61 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
62 LayoutProgress* layoutProgress() const; | 62 LayoutProgress* layoutProgress() const; |
63 | 63 |
64 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 64 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
65 | 65 |
66 virtual void attach(const AttachContext& = AttachContext()) override; | 66 virtual void attach(const AttachContext& = AttachContext()) override; |
67 | 67 |
68 void didElementStateChange(); | 68 void didElementStateChange(); |
69 virtual void didAddClosedShadowRoot(ShadowRoot&) override; | 69 virtual void didAddClosedShadowRoot(ShadowRoot&) override; |
70 bool isDeterminate() const; | 70 bool isDeterminate() const; |
71 | 71 |
72 RawPtrWillBeMember<ProgressValueElement> m_value; | 72 RawPtrWillBeMember<ProgressValueElement> m_value; |
73 }; | 73 }; |
74 | 74 |
75 } // namespace blink | 75 } // namespace blink |
76 | 76 |
77 #endif // HTMLProgressElement_h | 77 #endif // HTMLProgressElement_h |
OLD | NEW |