OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
8 | 8 |
9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 virtual void scrollTo(const IntSize&) OVERRIDE; | 313 virtual void scrollTo(const IntSize&) OVERRIDE; |
314 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; | 314 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; |
315 virtual bool scrollAnimatorEnabled() const OVERRIDE; | 315 virtual bool scrollAnimatorEnabled() const OVERRIDE; |
316 virtual bool usesCompositedScrolling() const OVERRIDE; | 316 virtual bool usesCompositedScrolling() const OVERRIDE; |
317 virtual GraphicsLayer* layerForScrolling() const OVERRIDE; | 317 virtual GraphicsLayer* layerForScrolling() const OVERRIDE; |
318 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; | 318 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; |
319 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; | 319 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; |
320 virtual GraphicsLayer* layerForScrollCorner() const OVERRIDE; | 320 virtual GraphicsLayer* layerForScrollCorner() const OVERRIDE; |
321 | 321 |
322 protected: | 322 protected: |
| 323 virtual void scrollContentsIfNeeded(); |
323 virtual bool scrollContentsFastPath(const IntSize& scrollDelta) OVERRIDE; | 324 virtual bool scrollContentsFastPath(const IntSize& scrollDelta) OVERRIDE; |
324 virtual void scrollContentsSlowPath(const IntRect& updateRect) OVERRIDE; | 325 virtual void scrollContentsSlowPath(const IntRect& updateRect) OVERRIDE; |
325 | 326 |
326 virtual bool isVerticalDocument() const OVERRIDE; | 327 virtual bool isVerticalDocument() const OVERRIDE; |
327 virtual bool isFlippedDocument() const OVERRIDE; | 328 virtual bool isFlippedDocument() const OVERRIDE; |
328 | 329 |
329 private: | 330 private: |
330 explicit FrameView(LocalFrame*); | 331 explicit FrameView(LocalFrame*); |
331 | 332 |
332 void reset(); | 333 void reset(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 | 378 |
378 void scheduleUpdateWidgetsIfNecessary(); | 379 void scheduleUpdateWidgetsIfNecessary(); |
379 void updateWidgetsTimerFired(Timer<FrameView>*); | 380 void updateWidgetsTimerFired(Timer<FrameView>*); |
380 bool updateWidgets(); | 381 bool updateWidgets(); |
381 | 382 |
382 void scrollToAnchor(); | 383 void scrollToAnchor(); |
383 void scrollPositionChanged(); | 384 void scrollPositionChanged(); |
384 void didScrollTimerFired(Timer<FrameView>*); | 385 void didScrollTimerFired(Timer<FrameView>*); |
385 | 386 |
386 void updateLayersAndCompositingAfterScrollIfNeeded(); | 387 void updateLayersAndCompositingAfterScrollIfNeeded(); |
| 388 void updateFixedElementPaintInvalidationRectsAfterScroll(); |
387 void updateCompositedSelectionBoundsIfNeeded(); | 389 void updateCompositedSelectionBoundsIfNeeded(); |
388 | 390 |
389 bool hasCustomScrollbars() const; | 391 bool hasCustomScrollbars() const; |
390 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*
& customScrollbarFrame); | 392 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*
& customScrollbarFrame); |
391 | 393 |
392 virtual void updateScrollCorner() OVERRIDE; | 394 virtual void updateScrollCorner() OVERRIDE; |
393 | 395 |
394 FrameView* parentFrameView() const; | 396 FrameView* parentFrameView() const; |
395 | 397 |
396 AXObjectCache* axObjectCache() const; | 398 AXObjectCache* axObjectCache() const; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 537 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
536 } | 538 } |
537 private: | 539 private: |
538 FrameView* m_view; | 540 FrameView* m_view; |
539 bool m_originalValue; | 541 bool m_originalValue; |
540 }; | 542 }; |
541 | 543 |
542 } // namespace blink | 544 } // namespace blink |
543 | 545 |
544 #endif // FrameView_h | 546 #endif // FrameView_h |
OLD | NEW |