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

Unified Diff: Source/WebCore/rendering/RenderQuote.h

Issue 10913088: Revert 127609 - Merge 124969 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 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/WebCore/rendering/RenderObjectChildList.cpp ('k') | Source/WebCore/rendering/RenderQuote.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/WebCore/rendering/RenderObjectChildList.cpp ('k') | Source/WebCore/rendering/RenderQuote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698