| Index: Source/WebCore/rendering/RenderQuote.h
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderQuote.h (revision 127609)
|
| +++ Source/WebCore/rendering/RenderQuote.h (working copy)
|
| @@ -21,9 +21,6 @@
|
| #ifndef RenderQuote_h
|
| #define RenderQuote_h
|
|
|
| -#include "Document.h"
|
| -#include "QuotesData.h"
|
| -#include "RenderStyle.h"
|
| #include "RenderStyleConstants.h"
|
| #include "RenderText.h"
|
|
|
| @@ -33,24 +30,24 @@
|
| public:
|
| RenderQuote(Document*, const QuoteType);
|
| virtual ~RenderQuote();
|
| - void attachQuote();
|
| - void detachQuote();
|
|
|
| + static void rendererSubtreeAttached(RenderObject*);
|
| + static void rendererRemovedFromTree(RenderObject*);
|
| +protected:
|
| + virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
|
| + virtual void willBeDestroyed();
|
| private:
|
| - virtual void willBeDestroyed() OVERRIDE;
|
| - virtual const char* renderName() const OVERRIDE { return "RenderQuote"; };
|
| - virtual bool isQuote() const OVERRIDE { return true; };
|
| - virtual PassRefPtr<StringImpl> originalText() const OVERRIDE;
|
| - virtual void computePreferredLogicalWidths(float leadWidth) OVERRIDE;
|
| -
|
| + virtual const char* renderName() const;
|
| + virtual bool isQuote() const { return true; };
|
| + virtual PassRefPtr<StringImpl> originalText() const;
|
| + virtual void computePreferredLogicalWidths(float leadWidth);
|
| const QuotesData* quotesData() const;
|
| - void updateDepth();
|
|
|
| QuoteType m_type;
|
| int m_depth;
|
| RenderQuote* m_next;
|
| RenderQuote* m_previous;
|
| - bool m_attached;
|
| + void placeQuote();
|
| };
|
|
|
| inline RenderQuote* toRenderQuote(RenderObject* object)
|
|
|