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