OLD | NEW |
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 PaintInvalidationCapableScrollableArea_h | 5 #ifndef PaintInvalidationCapableScrollableArea_h |
6 #define PaintInvalidationCapableScrollableArea_h | 6 #define PaintInvalidationCapableScrollableArea_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/geometry/LayoutRect.h" | 9 #include "platform/geometry/LayoutRect.h" |
10 #include "platform/scroll/ScrollableArea.h" | 10 #include "platform/scroll/ScrollableArea.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class LayoutBox; | 14 class LayoutBox; |
15 class LayoutBoxModelObject; | |
16 class LayoutScrollbarPart; | 15 class LayoutScrollbarPart; |
17 class PaintInvalidationContainer; | |
18 class PaintInvalidationState; | 16 class PaintInvalidationState; |
19 struct PaintInvalidatorContext; | 17 struct PaintInvalidatorContext; |
20 | 18 |
21 // Base class of FrameView and PaintLayerScrollableArea to share paint | 19 // Base class of FrameView and PaintLayerScrollableArea to share paint |
22 // invalidation code. | 20 // invalidation code. |
23 // TODO(wangxianzhu): Combine this into PaintLayerScrollableArea when | 21 // TODO(wangxianzhu): Combine this into PaintLayerScrollableArea when |
24 // root-layer-scrolls launches. | 22 // root-layer-scrolls launches. |
25 class CORE_EXPORT PaintInvalidationCapableScrollableArea | 23 class CORE_EXPORT PaintInvalidationCapableScrollableArea |
26 : public ScrollableArea { | 24 : public ScrollableArea { |
27 public: | 25 public: |
(...skipping 25 matching lines...) Expand all Loading... |
53 bool m_horizontalScrollbarPreviouslyWasOverlay; | 51 bool m_horizontalScrollbarPreviouslyWasOverlay; |
54 bool m_verticalScrollbarPreviouslyWasOverlay; | 52 bool m_verticalScrollbarPreviouslyWasOverlay; |
55 LayoutRect m_horizontalScrollbarPreviousPaintInvalidationRect; | 53 LayoutRect m_horizontalScrollbarPreviousPaintInvalidationRect; |
56 LayoutRect m_verticalScrollbarPreviousPaintInvalidationRect; | 54 LayoutRect m_verticalScrollbarPreviousPaintInvalidationRect; |
57 LayoutRect m_scrollCornerAndResizerPreviousPaintInvalidationRect; | 55 LayoutRect m_scrollCornerAndResizerPreviousPaintInvalidationRect; |
58 }; | 56 }; |
59 | 57 |
60 } // namespace blink | 58 } // namespace blink |
61 | 59 |
62 #endif // PaintInvalidationCapableScrollableArea_h | 60 #endif // PaintInvalidationCapableScrollableArea_h |
OLD | NEW |