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

Side by Side 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: rebaseline tests 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 void updateLayerPositions(RenderGeometryMap*, const RenderLayerModelObject* paintInvalidationContainer, UpdateLayerPositionsFlags = CheckForRepaint); 170 void updateLayerPositions(RenderGeometryMap*, const RenderLayerModelObject* paintInvalidationContainer, UpdateLayerPositionsFlags = CheckForRepaint);
171 171
172 bool isPaginated() const { return m_isPaginated; } 172 bool isPaginated() const { return m_isPaginated; }
173 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination Layer; } 173 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination Layer; }
174 174
175 void updateTransform(); 175 void updateTransform();
176 RenderLayer* renderingContextRoot(); 176 RenderLayer* renderingContextRoot();
177 177
178 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow Position; } 178 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow Position; }
179 179
180 enum PresenceOfBlockSelectionGaps {
181 LayerHasBlockSelectionGaps,
182 LayerDoesNotHaveBlockSelectionGaps
183 };
184
185 PresenceOfBlockSelectionGaps rendererHasBlockSelectionGaps();
Ian Vollick 2014/06/05 18:28:41 Can you replace the implementation of hasBlockSele
hartmanng 2014/06/05 20:28:03 Done.
186 void blockSelectionGapsBoundsChanged();
180 void addBlockSelectionGapsBounds(const LayoutRect&); 187 void addBlockSelectionGapsBounds(const LayoutRect&);
181 void clearBlockSelectionGapsBounds(); 188 void clearBlockSelectionGapsBounds();
182 void repaintBlockSelectionGaps(); 189 void repaintBlockSelectionGaps();
183 bool hasBlockSelectionGapBounds() const; 190 bool hasBlockSelectionGapBounds() const;
184 191
185 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } 192 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); }
186 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); } 193 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); }
187 194
188 bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisible Descendant(); } 195 bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisible Descendant(); }
189 196
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 737
731 } // namespace WebCore 738 } // namespace WebCore
732 739
733 #ifndef NDEBUG 740 #ifndef NDEBUG
734 // Outside the WebCore namespace for ease of invocation from gdb. 741 // Outside the WebCore namespace for ease of invocation from gdb.
735 void showLayerTree(const WebCore::RenderLayer*); 742 void showLayerTree(const WebCore::RenderLayer*);
736 void showLayerTree(const WebCore::RenderObject*); 743 void showLayerTree(const WebCore::RenderObject*);
737 #endif 744 #endif
738 745
739 #endif // RenderLayer_h 746 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698