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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 LayoutUnit paddingAfter() const override { return LayoutUnit(); } | 96 LayoutUnit paddingAfter() const override { return LayoutUnit(); } |
97 LayoutUnit paddingStart() const override { return LayoutUnit(); } | 97 LayoutUnit paddingStart() const override { return LayoutUnit(); } |
98 LayoutUnit paddingEnd() const override { return LayoutUnit(); } | 98 LayoutUnit paddingEnd() const override { return LayoutUnit(); } |
99 | 99 |
100 void layoutHorizontalPart(); | 100 void layoutHorizontalPart(); |
101 void layoutVerticalPart(); | 101 void layoutVerticalPart(); |
102 | 102 |
103 void computeScrollbarWidth(); | 103 void computeScrollbarWidth(); |
104 void computeScrollbarHeight(); | 104 void computeScrollbarHeight(); |
105 | 105 |
106 void setNeedsPaintInvalidation(); | |
107 | |
108 GC_PLUGIN_IGNORE("http://crbug.com/509911") | 106 GC_PLUGIN_IGNORE("http://crbug.com/509911") |
109 LayoutScrollbar* m_scrollbar; | 107 LayoutScrollbar* m_scrollbar; |
110 ScrollbarPart m_part; | 108 ScrollbarPart m_part; |
111 }; | 109 }; |
112 | 110 |
113 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutScrollbarPart, isLayoutScrollbarPart()); | 111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutScrollbarPart, isLayoutScrollbarPart()); |
114 | 112 |
115 } // namespace blink | 113 } // namespace blink |
116 | 114 |
117 #endif // LayoutScrollbarPart_h | 115 #endif // LayoutScrollbarPart_h |
OLD | NEW |