OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 LayoutUnit paddingEnd() const override { return LayoutUnit(); } | 101 LayoutUnit paddingEnd() const override { return LayoutUnit(); } |
102 | 102 |
103 void layoutHorizontalPart(); | 103 void layoutHorizontalPart(); |
104 void layoutVerticalPart(); | 104 void layoutVerticalPart(); |
105 | 105 |
106 void computeScrollbarWidth(); | 106 void computeScrollbarWidth(); |
107 void computeScrollbarHeight(); | 107 void computeScrollbarHeight(); |
108 | 108 |
109 void setNeedsPaintInvalidation(); | 109 void setNeedsPaintInvalidation(); |
110 | 110 |
| 111 bool allowsOverflowClip() const override { return false; } |
| 112 |
111 RawPtrWillBeUntracedMember<LayoutScrollbar> m_scrollbar; | 113 RawPtrWillBeUntracedMember<LayoutScrollbar> m_scrollbar; |
112 ScrollbarPart m_part; | 114 ScrollbarPart m_part; |
113 }; | 115 }; |
114 | 116 |
115 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutScrollbarPart, isLayoutScrollbarPart()); | 117 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutScrollbarPart, isLayoutScrollbarPart()); |
116 | 118 |
117 } // namespace blink | 119 } // namespace blink |
118 | 120 |
119 #endif // LayoutScrollbarPart_h | 121 #endif // LayoutScrollbarPart_h |
OLD | NEW |