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

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

Issue 934853002: Move and rename RenderQuote and RenderWordBreak. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/HTMLWBRElement.cpp ('k') | Source/core/layout/LayoutQuote.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutQuote.h
diff --git a/Source/core/rendering/RenderQuote.h b/Source/core/layout/LayoutQuote.h
similarity index 82%
rename from Source/core/rendering/RenderQuote.h
rename to Source/core/layout/LayoutQuote.h
index 089b861ca526932cd6405e80868b1421e8e5fed7..ebfe5950545a629c75edfe3bc341440e5db662ee 100644
--- a/Source/core/rendering/RenderQuote.h
+++ b/Source/core/layout/LayoutQuote.h
@@ -19,8 +19,8 @@
*
*/
-#ifndef RenderQuote_h
-#define RenderQuote_h
+#ifndef LayoutQuote_h
+#define LayoutQuote_h
#include "core/layout/style/LayoutStyle.h"
#include "core/layout/style/LayoutStyleConstants.h"
@@ -32,17 +32,17 @@ namespace blink {
class Document;
class RenderTextFragment;
-class RenderQuote final : public RenderInline {
+class LayoutQuote final : public RenderInline {
public:
- RenderQuote(Document*, const QuoteType);
- virtual ~RenderQuote();
+ LayoutQuote(Document*, const QuoteType);
+ virtual ~LayoutQuote();
void attachQuote();
private:
void detachQuote();
virtual void willBeDestroyed() override;
- virtual const char* renderName() const override { return "RenderQuote"; };
+ virtual const char* renderName() const override { return "LayoutQuote"; };
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectQuote || RenderInline::isOfType(type); }
virtual void styleDidChange(StyleDifference, const LayoutStyle*) override;
virtual void willBeRemovedFromTree() override;
@@ -57,14 +57,14 @@ private:
QuoteType m_type;
int m_depth;
- RenderQuote* m_next;
- RenderQuote* m_previous;
+ LayoutQuote* m_next;
+ LayoutQuote* m_previous;
bool m_attached;
String m_text;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderQuote, isQuote());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutQuote, isQuote());
} // namespace blink
-#endif // RenderQuote_h
+#endif // LayoutQuote_h
« no previous file with comments | « Source/core/html/HTMLWBRElement.cpp ('k') | Source/core/layout/LayoutQuote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698