Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1004)

Unified Diff: Source/core/layout/LayoutProgress.h

Issue 942583002: Move rendering/RenderProgress to layout/LayoutProgress (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.cpp ('k') | Source/core/layout/LayoutProgress.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutProgress.h
diff --git a/Source/core/rendering/RenderProgress.h b/Source/core/layout/LayoutProgress.h
similarity index 77%
rename from Source/core/rendering/RenderProgress.h
rename to Source/core/layout/LayoutProgress.h
index 09ff9817f6c28db73a5fe1adda46563323474b41..3e8a9ef7f50745226ba5941971e3598d83b5af85 100644
--- a/Source/core/rendering/RenderProgress.h
+++ b/Source/core/layout/LayoutProgress.h
@@ -18,8 +18,8 @@
*
*/
-#ifndef RenderProgress_h
-#define RenderProgress_h
+#ifndef LayoutProgress_h
+#define LayoutProgress_h
#include "core/rendering/RenderBlockFlow.h"
@@ -27,10 +27,10 @@ namespace blink {
class HTMLProgressElement;
-class RenderProgress final : public RenderBlockFlow {
+class LayoutProgress final : public RenderBlockFlow {
public:
- explicit RenderProgress(HTMLElement*);
- virtual ~RenderProgress();
+ explicit LayoutProgress(HTMLElement*);
+ virtual ~LayoutProgress();
virtual void destroy() override;
double position() const { return m_position; }
@@ -42,10 +42,10 @@ public:
HTMLProgressElement* progressElement() const;
private:
- virtual const char* renderName() const override { return "RenderProgress"; }
+ virtual const char* renderName() const override { return "LayoutProgress"; }
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectProgress || RenderBlockFlow::isOfType(type); }
- void animationTimerFired(Timer<RenderProgress>*);
+ void animationTimerFired(Timer<LayoutProgress>*);
void updateAnimationState();
double m_position;
@@ -53,11 +53,11 @@ private:
double m_animationRepeatInterval;
double m_animationDuration;
bool m_animating;
- Timer<RenderProgress> m_animationTimer;
+ Timer<LayoutProgress> m_animationTimer;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderProgress, isProgress());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutProgress, isProgress());
} // namespace blink
-#endif // RenderProgress_h
+#endif // LayoutProgress_h
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.cpp ('k') | Source/core/layout/LayoutProgress.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698