| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "core/style/ComputedStyleConstants.h" | 29 #include "core/style/ComputedStyleConstants.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include "platform/scroll/Scrollbar.h" | 31 #include "platform/scroll/Scrollbar.h" |
| 32 #include "wtf/HashMap.h" | 32 #include "wtf/HashMap.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class ComputedStyle; | 36 class ComputedStyle; |
| 37 class LayoutBox; | 37 class LayoutBox; |
| 38 class LayoutBoxModelObject; | |
| 39 class LayoutScrollbarPart; | 38 class LayoutScrollbarPart; |
| 40 class LocalFrame; | 39 class LocalFrame; |
| 41 class Node; | 40 class Node; |
| 42 class PaintInvalidationState; | |
| 43 | 41 |
| 44 class LayoutScrollbar final : public Scrollbar { | 42 class LayoutScrollbar final : public Scrollbar { |
| 45 public: | 43 public: |
| 46 static Scrollbar* createCustomScrollbar(ScrollableArea*, | 44 static Scrollbar* createCustomScrollbar(ScrollableArea*, |
| 47 ScrollbarOrientation, | 45 ScrollbarOrientation, |
| 48 Node*, | 46 Node*, |
| 49 LocalFrame* owningFrame = nullptr); | 47 LocalFrame* owningFrame = nullptr); |
| 50 ~LayoutScrollbar() override; | 48 ~LayoutScrollbar() override; |
| 51 | 49 |
| 52 LayoutBox* owningLayoutObject() const; | 50 LayoutBox* owningLayoutObject() const; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 105 |
| 108 DEFINE_TYPE_CASTS(LayoutScrollbar, | 106 DEFINE_TYPE_CASTS(LayoutScrollbar, |
| 109 ScrollbarThemeClient, | 107 ScrollbarThemeClient, |
| 110 scrollbar, | 108 scrollbar, |
| 111 scrollbar->isCustomScrollbar(), | 109 scrollbar->isCustomScrollbar(), |
| 112 scrollbar.isCustomScrollbar()); | 110 scrollbar.isCustomScrollbar()); |
| 113 | 111 |
| 114 } // namespace blink | 112 } // namespace blink |
| 115 | 113 |
| 116 #endif // LayoutScrollbar_h | 114 #endif // LayoutScrollbar_h |
| OLD | NEW |