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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 int layoutCount() const { return m_layoutCount; } | 108 int layoutCount() const { return m_layoutCount; } |
109 | 109 |
110 bool needsLayout() const; | 110 bool needsLayout() const; |
111 void setNeedsLayout(); | 111 void setNeedsLayout(); |
112 void setViewportConstrainedObjectsNeedLayout(); | 112 void setViewportConstrainedObjectsNeedLayout(); |
113 | 113 |
114 bool needsFullRepaint() const { return m_doFullRepaint; } | 114 bool needsFullRepaint() const { return m_doFullRepaint; } |
115 | 115 |
116 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 116 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
117 | 117 |
118 #if USE(ACCELERATED_COMPOSITING) | |
119 void updateCompositingLayersAfterStyleChange(); | 118 void updateCompositingLayersAfterStyleChange(); |
120 void updateCompositingLayersAfterLayout(); | 119 void updateCompositingLayersAfterLayout(); |
121 | 120 |
122 void clearBackingStores(); | |
123 void restoreBackingStores(); | |
124 #endif | |
125 | |
126 bool hasCompositedContent() const; | 121 bool hasCompositedContent() const; |
127 bool hasCompositingAncestor() const; | 122 bool hasCompositingAncestor() const; |
128 void enterCompositingMode(); | 123 void enterCompositingMode(); |
129 bool isEnclosedInCompositingLayer() const; | 124 bool isEnclosedInCompositingLayer() const; |
130 | 125 |
131 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers
flag set gives | 126 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers
flag set gives |
132 // a faithful representation of the content. | 127 // a faithful representation of the content. |
133 bool isSoftwareRenderable() const; | 128 bool isSoftwareRenderable() const; |
134 | 129 |
135 void didMoveOnscreen(); | 130 void didMoveOnscreen(); |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 void paintControlTints(); | 392 void paintControlTints(); |
398 | 393 |
399 void forceLayoutParentViewIfNeeded(); | 394 void forceLayoutParentViewIfNeeded(); |
400 void performPostLayoutTasks(); | 395 void performPostLayoutTasks(); |
401 void autoSizeIfEnabled(); | 396 void autoSizeIfEnabled(); |
402 | 397 |
403 virtual void repaintContentRectangle(const IntRect&); | 398 virtual void repaintContentRectangle(const IntRect&); |
404 virtual void contentsResized() OVERRIDE; | 399 virtual void contentsResized() OVERRIDE; |
405 virtual void visibleContentsResized(); | 400 virtual void visibleContentsResized(); |
406 | 401 |
407 virtual void delegatesScrollingDidChange(); | |
408 | |
409 // Override ScrollView methods to do point conversion via renderers, in orde
r to | 402 // Override ScrollView methods to do point conversion via renderers, in orde
r to |
410 // take transforms into account. | 403 // take transforms into account. |
411 virtual IntRect convertToContainingView(const IntRect&) const OVERRIDE; | 404 virtual IntRect convertToContainingView(const IntRect&) const OVERRIDE; |
412 virtual IntRect convertFromContainingView(const IntRect&) const OVERRIDE; | 405 virtual IntRect convertFromContainingView(const IntRect&) const OVERRIDE; |
413 virtual IntPoint convertToContainingView(const IntPoint&) const OVERRIDE; | 406 virtual IntPoint convertToContainingView(const IntPoint&) const OVERRIDE; |
414 virtual IntPoint convertFromContainingView(const IntPoint&) const OVERRIDE; | 407 virtual IntPoint convertFromContainingView(const IntPoint&) const OVERRIDE; |
415 | 408 |
416 // ScrollableArea interface | 409 // ScrollableArea interface |
417 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE; | 410 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE; |
418 virtual void getTickmarks(Vector<IntRect>&) const OVERRIDE; | 411 virtual void getTickmarks(Vector<IntRect>&) const OVERRIDE; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 ASSERT(!widget || widget->isFrameView()); | 612 ASSERT(!widget || widget->isFrameView()); |
620 return static_cast<const FrameView*>(widget); | 613 return static_cast<const FrameView*>(widget); |
621 } | 614 } |
622 | 615 |
623 // This will catch anyone doing an unnecessary cast. | 616 // This will catch anyone doing an unnecessary cast. |
624 void toFrameView(const FrameView*); | 617 void toFrameView(const FrameView*); |
625 | 618 |
626 } // namespace WebCore | 619 } // namespace WebCore |
627 | 620 |
628 #endif // FrameView_h | 621 #endif // FrameView_h |
OLD | NEW |