| 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 // ScrollableArea interface | 429 // ScrollableArea interface |
| 430 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE; | 430 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE; |
| 431 virtual bool isActive() const OVERRIDE; | 431 virtual bool isActive() const OVERRIDE; |
| 432 virtual void getTickmarks(Vector<IntRect>&) const OVERRIDE; | 432 virtual void getTickmarks(Vector<IntRect>&) const OVERRIDE; |
| 433 virtual void scrollTo(const IntSize&) OVERRIDE; | 433 virtual void scrollTo(const IntSize&) OVERRIDE; |
| 434 virtual void setVisibleScrollerThumbRect(const IntRect&) OVERRIDE; | 434 virtual void setVisibleScrollerThumbRect(const IntRect&) OVERRIDE; |
| 435 virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE; | 435 virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE; |
| 436 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; | 436 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; |
| 437 virtual bool scrollAnimatorEnabled() const OVERRIDE; | 437 virtual bool scrollAnimatorEnabled() const OVERRIDE; |
| 438 #if USE(ACCELERATED_COMPOSITING) | 438 #if USE(ACCELERATED_COMPOSITING) |
| 439 virtual bool usesCompositedScrolling() const OVERRIDE; |
| 439 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; | 440 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; |
| 440 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; | 441 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; |
| 441 virtual GraphicsLayer* layerForScrollCorner() const OVERRIDE; | 442 virtual GraphicsLayer* layerForScrollCorner() const OVERRIDE; |
| 442 #if ENABLE(RUBBER_BANDING) | 443 #if ENABLE(RUBBER_BANDING) |
| 443 virtual GraphicsLayer* layerForOverhangAreas() const OVERRIDE; | 444 virtual GraphicsLayer* layerForOverhangAreas() const OVERRIDE; |
| 444 #endif | 445 #endif |
| 445 #endif | 446 #endif |
| 446 | 447 |
| 447 void updateScrollableAreaSet(); | 448 void updateScrollableAreaSet(); |
| 448 | 449 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 } | 616 } |
| 616 | 617 |
| 617 inline LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) | 618 inline LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) |
| 618 { | 619 { |
| 619 return value * m_frame->pageZoomFactor() * m_frame->frameScaleFactor(); | 620 return value * m_frame->pageZoomFactor() * m_frame->frameScaleFactor(); |
| 620 } | 621 } |
| 621 | 622 |
| 622 } // namespace WebCore | 623 } // namespace WebCore |
| 623 | 624 |
| 624 #endif // FrameView_h | 625 #endif // FrameView_h |
| OLD | NEW |