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

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

Issue 303253004: Allow proper highlighting on universal overflow scroll. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations Created 6 years, 6 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
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(); }

Powered by Google App Engine
This is Rietveld 408576698