OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef LayerFixedPositionRecorder_h | |
6 #define LayerFixedPositionRecorder_h | |
7 | |
8 #include "wtf/FastAllocBase.h" | |
9 | |
10 namespace blink { | |
11 | |
12 class GraphicsContext; | |
13 class LayoutBoxModelObject; | |
14 | |
15 class LayerFixedPositionRecorder { | |
16 WTF_MAKE_FAST_ALLOCATED(LayerFixedPositionRecorder); | |
17 public: | |
18 explicit LayerFixedPositionRecorder(GraphicsContext&, const LayoutBoxModelOb
ject&); | |
19 ~LayerFixedPositionRecorder(); | |
20 | |
21 private: | |
22 GraphicsContext& m_graphicsContext; | |
23 const LayoutBoxModelObject& m_layoutObject; | |
24 bool m_isFixedPosition; | |
25 bool m_isFixedPositionContainer; | |
26 }; | |
27 | |
28 } // namespace blink | |
29 | |
30 #endif // LayerFixedPositionRecorder_h | |
OLD | NEW |