| 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 11 matching lines...) Expand all  Loading... | 
| 22 | 22 | 
| 23 #include "core/html/HTMLProgressElement.h" | 23 #include "core/html/HTMLProgressElement.h" | 
| 24 | 24 | 
| 25 #include "HTMLNames.h" | 25 #include "HTMLNames.h" | 
| 26 #include "core/dom/ExceptionCode.h" | 26 #include "core/dom/ExceptionCode.h" | 
| 27 #include "core/dom/NodeRenderingContext.h" | 27 #include "core/dom/NodeRenderingContext.h" | 
| 28 #include "core/dom/shadow/ShadowRoot.h" | 28 #include "core/dom/shadow/ShadowRoot.h" | 
| 29 #include "core/html/parser/HTMLParserIdioms.h" | 29 #include "core/html/parser/HTMLParserIdioms.h" | 
| 30 #include "core/html/shadow/ProgressShadowElement.h" | 30 #include "core/html/shadow/ProgressShadowElement.h" | 
| 31 #include "core/rendering/RenderProgress.h" | 31 #include "core/rendering/RenderProgress.h" | 
| 32 #include <wtf/StdLibExtras.h> |  | 
| 33 | 32 | 
| 34 namespace WebCore { | 33 namespace WebCore { | 
| 35 | 34 | 
| 36 using namespace HTMLNames; | 35 using namespace HTMLNames; | 
| 37 | 36 | 
| 38 const double HTMLProgressElement::IndeterminatePosition = -1; | 37 const double HTMLProgressElement::IndeterminatePosition = -1; | 
| 39 const double HTMLProgressElement::InvalidPosition = -2; | 38 const double HTMLProgressElement::InvalidPosition = -2; | 
| 40 | 39 | 
| 41 HTMLProgressElement::HTMLProgressElement(const QualifiedName& tagName, Document*
      document) | 40 HTMLProgressElement::HTMLProgressElement(const QualifiedName& tagName, Document*
      document) | 
| 42     : LabelableElement(tagName, document) | 41     : LabelableElement(tagName, document) | 
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 165 | 164 | 
| 166     inner->appendChild(bar, ASSERT_NO_EXCEPTION); | 165     inner->appendChild(bar, ASSERT_NO_EXCEPTION); | 
| 167 } | 166 } | 
| 168 | 167 | 
| 169 bool HTMLProgressElement::shouldAppearIndeterminate() const | 168 bool HTMLProgressElement::shouldAppearIndeterminate() const | 
| 170 { | 169 { | 
| 171     return !isDeterminate(); | 170     return !isDeterminate(); | 
| 172 } | 171 } | 
| 173 | 172 | 
| 174 } // namespace | 173 } // namespace | 
| OLD | NEW | 
|---|