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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 void setNeedsOneShotDrawingSynchronization(); | 132 void setNeedsOneShotDrawingSynchronization(); |
133 | 133 |
134 virtual TiledBacking* tiledBacking() OVERRIDE; | 134 virtual TiledBacking* tiledBacking() OVERRIDE; |
135 | 135 |
136 // In the future when any ScrollableArea can have a node in th ScrollingTree
, this should | 136 // In the future when any ScrollableArea can have a node in th ScrollingTree
, this should |
137 // become a virtual function on ScrollableArea. | 137 // become a virtual function on ScrollableArea. |
138 uint64_t scrollLayerID() const; | 138 uint64_t scrollLayerID() const; |
139 #endif | 139 #endif |
140 | 140 |
141 bool hasCompositedContent() const; | 141 bool hasCompositedContent() const; |
142 bool hasCompositedContentIncludingDescendants() const; | |
143 bool hasCompositingAncestor() const; | 142 bool hasCompositingAncestor() const; |
144 void enterCompositingMode(); | 143 void enterCompositingMode(); |
145 bool isEnclosedInCompositingLayer() const; | 144 bool isEnclosedInCompositingLayer() const; |
146 | 145 |
147 // Only used with accelerated compositing, but outside the #ifdef to make li
nkage easier. | 146 // Only used with accelerated compositing, but outside the #ifdef to make li
nkage easier. |
148 // Returns true if the flush was completed. | 147 // Returns true if the flush was completed. |
149 bool flushCompositingStateIncludingSubframes(); | 148 bool flushCompositingStateIncludingSubframes(); |
150 | 149 |
151 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers
flag set gives | 150 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers
flag set gives |
152 // a faithful representation of the content. | 151 // a faithful representation of the content. |
(...skipping 29 matching lines...) Expand all Loading... |
182 | 181 |
183 virtual IntRect windowClipRect(bool clipToContents = true) const; | 182 virtual IntRect windowClipRect(bool clipToContents = true) const; |
184 IntRect windowClipRectForFrameOwner(const HTMLFrameOwnerElement*, bool clipT
oLayerContents) const; | 183 IntRect windowClipRectForFrameOwner(const HTMLFrameOwnerElement*, bool clipT
oLayerContents) const; |
185 | 184 |
186 virtual IntRect windowResizerRect() const; | 185 virtual IntRect windowResizerRect() const; |
187 | 186 |
188 virtual float visibleContentScaleFactor() const OVERRIDE; | 187 virtual float visibleContentScaleFactor() const OVERRIDE; |
189 | 188 |
190 virtual void setFixedVisibleContentRect(const IntRect&) OVERRIDE; | 189 virtual void setFixedVisibleContentRect(const IntRect&) OVERRIDE; |
191 virtual void setScrollPosition(const IntPoint&) OVERRIDE; | 190 virtual void setScrollPosition(const IntPoint&) OVERRIDE; |
192 void scrollPositionChangedViaPlatformWidget(); | |
193 virtual void repaintFixedElementsAfterScrolling(); | 191 virtual void repaintFixedElementsAfterScrolling(); |
194 virtual void updateFixedElementsAfterScrolling(); | 192 virtual void updateFixedElementsAfterScrolling(); |
195 virtual bool shouldRubberBandInDirection(ScrollDirection) const; | 193 virtual bool shouldRubberBandInDirection(ScrollDirection) const; |
196 virtual bool requestScrollPositionUpdate(const IntPoint&) OVERRIDE; | 194 virtual bool requestScrollPositionUpdate(const IntPoint&) OVERRIDE; |
197 virtual bool isRubberBandInProgress() const OVERRIDE; | 195 virtual bool isRubberBandInProgress() const OVERRIDE; |
198 | 196 |
199 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) | 197 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) |
200 // offsets from rubber-banding, and it takes zooming into account. | 198 // offsets from rubber-banding, and it takes zooming into account. |
201 LayoutRect viewportConstrainedVisibleContentRect() const; | 199 LayoutRect viewportConstrainedVisibleContentRect() const; |
202 | 200 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 ASSERT(!widget || widget->isFrameView()); | 662 ASSERT(!widget || widget->isFrameView()); |
665 return static_cast<const FrameView*>(widget); | 663 return static_cast<const FrameView*>(widget); |
666 } | 664 } |
667 | 665 |
668 // This will catch anyone doing an unnecessary cast. | 666 // This will catch anyone doing an unnecessary cast. |
669 void toFrameView(const FrameView*); | 667 void toFrameView(const FrameView*); |
670 | 668 |
671 } // namespace WebCore | 669 } // namespace WebCore |
672 | 670 |
673 #endif // FrameView_h | 671 #endif // FrameView_h |
OLD | NEW |