Index: Source/core/rendering/RenderLayer.h |
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
index dc02ec312bbde7c89467c3f4bbcc666e399e43bd..86ba9a89d8c4fd42ccf6ae3bbe6c60fdfcc86629 100644 |
--- a/Source/core/rendering/RenderLayer.h |
+++ b/Source/core/rendering/RenderLayer.h |
@@ -177,10 +177,17 @@ public: |
const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlowPosition; } |
+ enum PresenceOfBlockSelectionGaps { |
+ LayerHasBlockSelectionGaps, |
+ LayerDoesNotHaveBlockSelectionGaps |
+ }; |
Ian Vollick
2014/06/12 14:54:57
I think you could just use a boolean and get rid o
hartmanng
2014/06/13 14:51:38
Done.
|
+ |
+ void blockSelectionGapsBoundsChanged(); |
void addBlockSelectionGapsBounds(const LayoutRect&); |
void clearBlockSelectionGapsBounds(); |
void repaintBlockSelectionGaps(); |
- bool hasBlockSelectionGapBounds() const; |
+ IntRect blockSelectionGapsBounds() const; |
+ PresenceOfBlockSelectionGaps hasBlockSelectionGapBounds() const; |
RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } |
const RenderLayerStackingNode* stackingNode() const { return m_stackingNode.get(); } |