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

Side by Side Diff: sky/engine/core/rendering/RenderLayer.h

Issue 851593002: Delete RenderSelectionInfo and other selection rect paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 bool isRootLayer() const { return m_isRootLayer; } 119 bool isRootLayer() const { return m_isRootLayer; }
120 120
121 void updateLayerPositionsAfterLayout(); 121 void updateLayerPositionsAfterLayout();
122 122
123 void updateTransformationMatrix(); 123 void updateTransformationMatrix();
124 RenderLayer* renderingContextRoot(); 124 RenderLayer* renderingContextRoot();
125 125
126 // Our current relative position offset. 126 // Our current relative position offset.
127 const LayoutSize offsetForInFlowPosition() const; 127 const LayoutSize offsetForInFlowPosition() const;
128 128
129 void addBlockSelectionGapsBounds(const LayoutRect&);
130 void clearBlockSelectionGapsBounds();
131 IntRect blockSelectionGapsBounds() const;
132
133 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } 129 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); }
134 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); } 130 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); }
135 131
136 bool hasBoxDecorationsOrBackground() const; 132 bool hasBoxDecorationsOrBackground() const;
137 bool hasVisibleBoxDecorations() const; 133 bool hasVisibleBoxDecorations() const;
138 // Returns true if this layer has visible content (ignoring any child layers ). 134 // Returns true if this layer has visible content (ignoring any child layers ).
139 bool isVisuallyNonEmpty() const; 135 bool isVisuallyNonEmpty() const;
140 // True if this layer container renderers that paint. 136 // True if this layer container renderers that paint.
141 bool hasNonEmptyChildRenderers() const; 137 bool hasNonEmptyChildRenderers() const;
142 138
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 531
536 // Cached normal flow values for absolute positioned elements with static le ft/top values. 532 // Cached normal flow values for absolute positioned elements with static le ft/top values.
537 LayoutUnit m_staticInlinePosition; 533 LayoutUnit m_staticInlinePosition;
538 LayoutUnit m_staticBlockPosition; 534 LayoutUnit m_staticBlockPosition;
539 535
540 OwnPtr<TransformationMatrix> m_transform; 536 OwnPtr<TransformationMatrix> m_transform;
541 537
542 DescendantDependentCompositingInputs m_descendantDependentCompositingInputs; 538 DescendantDependentCompositingInputs m_descendantDependentCompositingInputs;
543 AncestorDependentCompositingInputs m_ancestorDependentCompositingInputs; 539 AncestorDependentCompositingInputs m_ancestorDependentCompositingInputs;
544 540
545 IntRect m_blockSelectionGapsBounds;
ojan 2015/01/13 00:40:47 This member gets written, but is never read.
546
547 OwnPtr<RenderLayerScrollableArea> m_scrollableArea; 541 OwnPtr<RenderLayerScrollableArea> m_scrollableArea;
548 542
549 RenderLayerClipper m_clipper; // FIXME: Lazily allocate? 543 RenderLayerClipper m_clipper; // FIXME: Lazily allocate?
550 OwnPtr<RenderLayerStackingNode> m_stackingNode; 544 OwnPtr<RenderLayerStackingNode> m_stackingNode;
551 545
552 LayoutSize m_subpixelAccumulation; // The accumulated subpixel offset of a c omposited layer's composited bounds compared to absolute coordinates. 546 LayoutSize m_subpixelAccumulation; // The accumulated subpixel offset of a c omposited layer's composited bounds compared to absolute coordinates.
553 }; 547 };
554 548
555 } // namespace blink 549 } // namespace blink
556 550
557 #ifndef NDEBUG 551 #ifndef NDEBUG
558 // Outside the WebCore namespace for ease of invocation from gdb. 552 // Outside the WebCore namespace for ease of invocation from gdb.
559 void showLayerTree(const blink::RenderLayer*); 553 void showLayerTree(const blink::RenderLayer*);
560 void showLayerTree(const blink::RenderObject*); 554 void showLayerTree(const blink::RenderObject*);
561 #endif 555 #endif
562 556
563 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ 557 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698