| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 virtual void scrollTo(const IntSize&) OVERRIDE; | 316 virtual void scrollTo(const IntSize&) OVERRIDE; |
| 317 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; | 317 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; |
| 318 virtual bool scrollAnimatorEnabled() const OVERRIDE; | 318 virtual bool scrollAnimatorEnabled() const OVERRIDE; |
| 319 virtual bool usesCompositedScrolling() const OVERRIDE; | 319 virtual bool usesCompositedScrolling() const OVERRIDE; |
| 320 virtual GraphicsLayer* layerForScrolling() const OVERRIDE; | 320 virtual GraphicsLayer* layerForScrolling() const OVERRIDE; |
| 321 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; | 321 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; |
| 322 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; | 322 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; |
| 323 virtual GraphicsLayer* layerForScrollCorner() const OVERRIDE; | 323 virtual GraphicsLayer* layerForScrollCorner() const OVERRIDE; |
| 324 | 324 |
| 325 protected: | 325 protected: |
| 326 virtual void scrollContentsIfNeeded(); |
| 326 virtual bool scrollContentsFastPath(const IntSize& scrollDelta) OVERRIDE; | 327 virtual bool scrollContentsFastPath(const IntSize& scrollDelta) OVERRIDE; |
| 327 virtual void scrollContentsSlowPath(const IntRect& updateRect) OVERRIDE; | 328 virtual void scrollContentsSlowPath(const IntRect& updateRect) OVERRIDE; |
| 328 | 329 |
| 329 virtual bool isVerticalDocument() const OVERRIDE; | 330 virtual bool isVerticalDocument() const OVERRIDE; |
| 330 virtual bool isFlippedDocument() const OVERRIDE; | 331 virtual bool isFlippedDocument() const OVERRIDE; |
| 331 | 332 |
| 332 private: | 333 private: |
| 333 explicit FrameView(LocalFrame*); | 334 explicit FrameView(LocalFrame*); |
| 334 | 335 |
| 335 void reset(); | 336 void reset(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 | 380 |
| 380 void scheduleUpdateWidgetsIfNecessary(); | 381 void scheduleUpdateWidgetsIfNecessary(); |
| 381 void updateWidgetsTimerFired(Timer<FrameView>*); | 382 void updateWidgetsTimerFired(Timer<FrameView>*); |
| 382 bool updateWidgets(); | 383 bool updateWidgets(); |
| 383 | 384 |
| 384 void scrollToAnchor(); | 385 void scrollToAnchor(); |
| 385 void scrollPositionChanged(); | 386 void scrollPositionChanged(); |
| 386 void didScrollTimerFired(Timer<FrameView>*); | 387 void didScrollTimerFired(Timer<FrameView>*); |
| 387 | 388 |
| 388 void updateLayersAndCompositingAfterScrollIfNeeded(); | 389 void updateLayersAndCompositingAfterScrollIfNeeded(); |
| 390 void updateFixedElementPaintInvalidationRectsAfterScroll(); |
| 389 void updateCompositedSelectionBoundsIfNeeded(); | 391 void updateCompositedSelectionBoundsIfNeeded(); |
| 390 | 392 |
| 391 bool hasCustomScrollbars() const; | 393 bool hasCustomScrollbars() const; |
| 392 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*
& customScrollbarFrame); | 394 bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*
& customScrollbarFrame); |
| 393 | 395 |
| 394 virtual void updateScrollCorner() OVERRIDE; | 396 virtual void updateScrollCorner() OVERRIDE; |
| 395 | 397 |
| 396 FrameView* parentFrameView() const; | 398 FrameView* parentFrameView() const; |
| 397 | 399 |
| 398 AXObjectCache* axObjectCache() const; | 400 AXObjectCache* axObjectCache() const; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 541 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
| 540 } | 542 } |
| 541 private: | 543 private: |
| 542 FrameView* m_view; | 544 FrameView* m_view; |
| 543 bool m_originalValue; | 545 bool m_originalValue; |
| 544 }; | 546 }; |
| 545 | 547 |
| 546 } // namespace blink | 548 } // namespace blink |
| 547 | 549 |
| 548 #endif // FrameView_h | 550 #endif // FrameView_h |
| OLD | NEW |