| OLD | NEW |
| 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 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
| 42 */ | 42 */ |
| 43 | 43 |
| 44 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ | 44 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ |
| 45 #define SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ | 45 #define SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ |
| 46 | 46 |
| 47 #include "sky/engine/platform/scroll/ScrollableArea.h" | 47 #include "sky/engine/platform/scroll/ScrollableArea.h" |
| 48 | 48 |
| 49 namespace blink { | 49 namespace blink { |
| 50 | 50 |
| 51 class PlatformEvent; | |
| 52 class RenderBox; | 51 class RenderBox; |
| 53 class RenderLayer; | 52 class RenderLayer; |
| 54 | 53 |
| 55 class RenderLayerScrollableArea final : public ScrollableArea { | 54 class RenderLayerScrollableArea final : public ScrollableArea { |
| 56 public: | 55 public: |
| 57 // FIXME: We should pass in the RenderBox but this opens a window | 56 // FIXME: We should pass in the RenderBox but this opens a window |
| 58 // for crashers during RenderLayer setup (see crbug.com/368062). | 57 // for crashers during RenderLayer setup (see crbug.com/368062). |
| 59 RenderLayerScrollableArea(RenderLayer&); | 58 RenderLayerScrollableArea(RenderLayer&); |
| 60 virtual ~RenderLayerScrollableArea(); | 59 virtual ~RenderLayerScrollableArea(); |
| 61 | 60 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 IntPoint m_cachedOverlayScrollbarOffset; | 185 IntPoint m_cachedOverlayScrollbarOffset; |
| 187 | 186 |
| 188 // For areas with overflow, we have a pair of scrollbars. | 187 // For areas with overflow, we have a pair of scrollbars. |
| 189 RefPtr<Scrollbar> m_hBar; | 188 RefPtr<Scrollbar> m_hBar; |
| 190 RefPtr<Scrollbar> m_vBar; | 189 RefPtr<Scrollbar> m_vBar; |
| 191 }; | 190 }; |
| 192 | 191 |
| 193 } // namespace blink | 192 } // namespace blink |
| 194 | 193 |
| 195 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ | 194 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ |
| OLD | NEW |