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

Side by Side Diff: Source/core/paint/LayerFixedPositionRecorder.h

Issue 1284203004: Generate scroll/clip display item hierarchy for SPv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix failing test. Update test expectation. Created 5 years, 3 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayerFixedPositionRecorder_h 5 #ifndef LayerFixedPositionRecorder_h
6 #define LayerFixedPositionRecorder_h 6 #define LayerFixedPositionRecorder_h
7 7
8 #include "wtf/FastAllocBase.h" 8 #include "wtf/FastAllocBase.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class GraphicsContext; 12 class GraphicsContext;
13 class LayoutBoxModelObject; 13 class LayoutBoxModelObject;
14 14
15 class LayerFixedPositionRecorder { 15 class LayerFixedPositionRecorder {
16 WTF_MAKE_FAST_ALLOCATED(LayerFixedPositionRecorder); 16 WTF_MAKE_FAST_ALLOCATED(LayerFixedPositionRecorder);
17 public: 17 public:
18 explicit LayerFixedPositionRecorder(GraphicsContext&, const LayoutBoxModelOb ject&); 18 explicit LayerFixedPositionRecorder(GraphicsContext&, const LayoutBoxModelOb ject&, const LayoutBoxModelObject& anchor);
19 ~LayerFixedPositionRecorder(); 19 ~LayerFixedPositionRecorder();
20 20
21 private: 21 private:
22 GraphicsContext& m_graphicsContext; 22 GraphicsContext& m_graphicsContext;
23 const LayoutBoxModelObject& m_layoutObject; 23 const LayoutBoxModelObject& m_layoutObject;
24 bool m_isFixedPosition;
25 bool m_isFixedPositionContainer;
26 }; 24 };
27 25
28 } // namespace blink 26 } // namespace blink
29 27
30 #endif // LayerFixedPositionRecorder_h 28 #endif // LayerFixedPositionRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698