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; | |
15 class LayoutScrollbarPart; | 14 class LayoutScrollbarPart; |
16 class PaintInvalidationState; | 15 class PaintInvalidationState; |
17 struct PaintInvalidatorContext; | 16 struct PaintInvalidatorContext; |
18 | 17 |
19 // Base class of FrameView and PaintLayerScrollableArea to share paint | 18 // Base class of FrameView and PaintLayerScrollableArea to share paint |
20 // invalidation code. | 19 // invalidation code. |
21 // TODO(wangxianzhu): Combine this into PaintLayerScrollableArea when | 20 // TODO(wangxianzhu): Combine this into PaintLayerScrollableArea when |
22 // root-layer-scrolls launches. | 21 // root-layer-scrolls launches. |
23 class CORE_EXPORT PaintInvalidationCapableScrollableArea | 22 class CORE_EXPORT PaintInvalidationCapableScrollableArea |
24 : public ScrollableArea { | 23 : public ScrollableArea { |
(...skipping 25 matching lines...) Expand all Loading... |
50 bool m_horizontalScrollbarPreviouslyWasOverlay; | 49 bool m_horizontalScrollbarPreviouslyWasOverlay; |
51 bool m_verticalScrollbarPreviouslyWasOverlay; | 50 bool m_verticalScrollbarPreviouslyWasOverlay; |
52 LayoutRect m_horizontalScrollbarPreviousVisualRect; | 51 LayoutRect m_horizontalScrollbarPreviousVisualRect; |
53 LayoutRect m_verticalScrollbarPreviousVisualRect; | 52 LayoutRect m_verticalScrollbarPreviousVisualRect; |
54 LayoutRect m_scrollCornerAndResizerPreviousVisualRect; | 53 LayoutRect m_scrollCornerAndResizerPreviousVisualRect; |
55 }; | 54 }; |
56 | 55 |
57 } // namespace blink | 56 } // namespace blink |
58 | 57 |
59 #endif // PaintInvalidationCapableScrollableArea_h | 58 #endif // PaintInvalidationCapableScrollableArea_h |
OLD | NEW |