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

Unified Diff: Source/core/rendering/RenderReplaced.h

Issue 714303003: Move painting code from RenderPart to PartPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« Source/core/paint/PartPainter.h ('K') | « Source/core/rendering/RenderPart.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderReplaced.h
diff --git a/Source/core/rendering/RenderReplaced.h b/Source/core/rendering/RenderReplaced.h
index aedff48e905ebc0bc399cb9201c4aae20e53c697..22516945c07f888d3d73dc176b34fd739f182072 100644
--- a/Source/core/rendering/RenderReplaced.h
+++ b/Source/core/rendering/RenderReplaced.h
@@ -51,6 +51,8 @@ public:
virtual void paint(PaintInfo&, const LayoutPoint&) override;
+ bool isSelected() const;
+
protected:
virtual void willBeDestroyed() override;
@@ -67,8 +69,6 @@ protected:
virtual void setSelectionState(SelectionState) override final;
- bool isSelected() const;
-
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; }
« Source/core/paint/PartPainter.h ('K') | « Source/core/rendering/RenderPart.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698