| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 void startTimerIfNeeded(double delay); | 186 void startTimerIfNeeded(double delay); |
| 187 void stopTimerIfNeeded(); | 187 void stopTimerIfNeeded(); |
| 188 void autoscrollPressedPart(double delay); | 188 void autoscrollPressedPart(double delay); |
| 189 ScrollDirectionPhysical pressedPartScrollDirectionPhysical(); | 189 ScrollDirectionPhysical pressedPartScrollDirectionPhysical(); |
| 190 ScrollGranularity pressedPartScrollGranularity(); | 190 ScrollGranularity pressedPartScrollGranularity(); |
| 191 | 191 |
| 192 RawPtrWillBeMember<ScrollableArea> m_scrollableArea; | 192 RawPtrWillBeMember<ScrollableArea> m_scrollableArea; |
| 193 ScrollbarOrientation m_orientation; | 193 ScrollbarOrientation m_orientation; |
| 194 ScrollbarControlSize m_controlSize; | 194 ScrollbarControlSize m_controlSize; |
| 195 ScrollbarTheme& m_theme; | 195 ScrollbarTheme& m_theme; |
| 196 HostWindow* m_hostWindow; | 196 RawPtrWillBeMember<HostWindow> m_hostWindow; |
| 197 | 197 |
| 198 int m_visibleSize; | 198 int m_visibleSize; |
| 199 int m_totalSize; | 199 int m_totalSize; |
| 200 float m_currentPos; | 200 float m_currentPos; |
| 201 float m_dragOrigin; | 201 float m_dragOrigin; |
| 202 | 202 |
| 203 ScrollbarPart m_hoveredPart; | 203 ScrollbarPart m_hoveredPart; |
| 204 ScrollbarPart m_pressedPart; | 204 ScrollbarPart m_pressedPart; |
| 205 int m_pressedPos; | 205 int m_pressedPos; |
| 206 float m_scrollPos; | 206 float m_scrollPos; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 224 | 224 |
| 225 bool m_trackNeedsRepaint; | 225 bool m_trackNeedsRepaint; |
| 226 bool m_thumbNeedsRepaint; | 226 bool m_thumbNeedsRepaint; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 DEFINE_TYPE_CASTS(Scrollbar, Widget, widget, widget->isScrollbar(), widget.isScr
ollbar()); | 229 DEFINE_TYPE_CASTS(Scrollbar, Widget, widget, widget->isScrollbar(), widget.isScr
ollbar()); |
| 230 | 230 |
| 231 } // namespace blink | 231 } // namespace blink |
| 232 | 232 |
| 233 #endif // Scrollbar_h | 233 #endif // Scrollbar_h |
| OLD | NEW |