X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Frendering%2FRenderQuote.h;h=fda6722103636fcb806d585583137bc3ed7cc591;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=a7e4b08a45c99df29ff72b2161d1a5a7974bb020;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/rendering/RenderQuote.h b/src/third_party/WebKit/Source/core/rendering/RenderQuote.h index a7e4b08..fda6722 100644 --- a/src/third_party/WebKit/Source/core/rendering/RenderQuote.h +++ b/src/third_party/WebKit/Source/core/rendering/RenderQuote.h @@ -31,21 +31,21 @@ namespace blink { class Document; -class RenderQuote FINAL : public RenderInline { +class RenderQuote final : public RenderInline { public: RenderQuote(Document*, const QuoteType); virtual ~RenderQuote(); - virtual void trace(Visitor*) OVERRIDE; + virtual void trace(Visitor*) override; void attachQuote(); private: void detachQuote(); - virtual void willBeDestroyed() OVERRIDE; - virtual const char* renderName() const OVERRIDE { return "RenderQuote"; }; - virtual bool isQuote() const OVERRIDE { return true; }; - virtual void styleDidChange(StyleDifference, const RenderStyle*) OVERRIDE; - virtual void willBeRemovedFromTree() OVERRIDE; + virtual void willBeDestroyed() override; + virtual const char* renderName() const override { return "RenderQuote"; }; + virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectQuote || RenderInline::isOfType(type); } + virtual void styleDidChange(StyleDifference, const RenderStyle*) override; + virtual void willBeRemovedFromTree() override; String computeText() const; void updateText(); @@ -53,6 +53,8 @@ private: void updateDepth(); bool isAttached() { return m_attached; } + RenderTextFragment* findFragmentChild() const; + QuoteType m_type; int m_depth; RawPtrWillBeMember m_next;