OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Holger Hans Peter Freyther | 3 * Copyright (C) 2009 Holger Hans Peter Freyther |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 void destroy(); | 315 void destroy(); |
316 | 316 |
317 IntRect rectToCopyOnScroll() const; | 317 IntRect rectToCopyOnScroll() const; |
318 | 318 |
319 // Called when the scroll position within this view changes. FrameView over
rides this to generate repaint invalidations. | 319 // Called when the scroll position within this view changes. FrameView over
rides this to generate repaint invalidations. |
320 virtual void repaintFixedElementsAfterScrolling() { } | 320 virtual void repaintFixedElementsAfterScrolling() { } |
321 virtual void updateFixedElementsAfterScrolling() { } | 321 virtual void updateFixedElementsAfterScrolling() { } |
322 | 322 |
323 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR
ect& verticalOverhangRect); | 323 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR
ect& verticalOverhangRect); |
324 void updateOverhangAreas(); | 324 void updateOverhangAreas(); |
325 | |
326 virtual int pageStep(ScrollbarOrientation) const OVERRIDE; | |
327 }; // class ScrollView | 325 }; // class ScrollView |
328 | 326 |
329 DEFINE_TYPE_CASTS(ScrollView, Widget, widget, widget->isScrollView(), widget.isS
crollView()); | 327 DEFINE_TYPE_CASTS(ScrollView, Widget, widget, widget->isScrollView(), widget.isS
crollView()); |
330 | 328 |
331 } // namespace WebCore | 329 } // namespace WebCore |
332 | 330 |
333 #endif // ScrollView_h | 331 #endif // ScrollView_h |
OLD | NEW |