| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 virtual void layout() OVERRIDE; | 62 virtual void layout() OVERRIDE; |
| 63 virtual void updateLogicalWidth() OVERRIDE; | 63 virtual void updateLogicalWidth() OVERRIDE; |
| 64 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; | 64 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; |
| 65 | 65 |
| 66 virtual bool supportsPartialLayout() const OVERRIDE { return true; } | 66 virtual bool supportsPartialLayout() const OVERRIDE { return true; } |
| 67 | 67 |
| 68 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
OVERRIDE; | 68 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
OVERRIDE; |
| 69 | 69 |
| 70 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. | 70 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. |
| 71 int viewHeight(ScrollableArea::VisibleContentRectIncludesScrollbars scrollba
rInclusion = ScrollableArea::ExcludeScrollbars) const; | 71 int viewHeight(ScrollableArea::IncludeScrollbarsInRect scrollbarInclusion =
ScrollableArea::ExcludeScrollbars) const; |
| 72 int viewWidth(ScrollableArea::VisibleContentRectIncludesScrollbars scrollbar
Inclusion = ScrollableArea::ExcludeScrollbars) const; | 72 int viewWidth(ScrollableArea::IncludeScrollbarsInRect scrollbarInclusion = S
crollableArea::ExcludeScrollbars) const; |
| 73 int viewLogicalWidth(ScrollableArea::VisibleContentRectIncludesScrollbars sc
rollbarInclusion = ScrollableArea::ExcludeScrollbars) const | 73 int viewLogicalWidth(ScrollableArea::IncludeScrollbarsInRect scrollbarInclus
ion = ScrollableArea::ExcludeScrollbars) const |
| 74 { | 74 { |
| 75 return style()->isHorizontalWritingMode() ? viewWidth(scrollbarInclusion
) : viewHeight(scrollbarInclusion); | 75 return style()->isHorizontalWritingMode() ? viewWidth(scrollbarInclusion
) : viewHeight(scrollbarInclusion); |
| 76 } | 76 } |
| 77 int viewLogicalHeight(ScrollableArea::VisibleContentRectIncludesScrollbars s
crollbarInclusion = ScrollableArea::ExcludeScrollbars) const; | 77 int viewLogicalHeight(ScrollableArea::IncludeScrollbarsInRect scrollbarInclu
sion = ScrollableArea::ExcludeScrollbars) const; |
| 78 | 78 |
| 79 float zoomFactor() const; | 79 float zoomFactor() const; |
| 80 | 80 |
| 81 FrameView* frameView() const { return m_frameView; } | 81 FrameView* frameView() const { return m_frameView; } |
| 82 | 82 |
| 83 virtual void computeRectForRepaint(const RenderLayerModelObject* repaintCont
ainer, LayoutRect&, bool fixed = false) const OVERRIDE; | 83 virtual void computeRectForRepaint(const RenderLayerModelObject* repaintCont
ainer, LayoutRect&, bool fixed = false) const OVERRIDE; |
| 84 void repaintViewRectangle(const LayoutRect&) const; | 84 void repaintViewRectangle(const LayoutRect&) const; |
| 85 // Repaint the view, and all composited layers that intersect the given abso
lute rectangle. | 85 // Repaint the view, and all composited layers that intersect the given abso
lute rectangle. |
| 86 // FIXME: ideally we'd never have to do this, if all repaints are container-
relative. | 86 // FIXME: ideally we'd never have to do this, if all repaints are container-
relative. |
| 87 void repaintRectangleInViewAndCompositedLayers(const LayoutRect&); | 87 void repaintRectangleInViewAndCompositedLayers(const LayoutRect&); |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 RenderObject::FlowThreadState m_flowThreadState; | 419 RenderObject::FlowThreadState m_flowThreadState; |
| 420 bool m_fragmenting; | 420 bool m_fragmenting; |
| 421 #ifndef NDEBUG | 421 #ifndef NDEBUG |
| 422 LayoutState* m_layoutState; | 422 LayoutState* m_layoutState; |
| 423 #endif | 423 #endif |
| 424 }; | 424 }; |
| 425 | 425 |
| 426 } // namespace WebCore | 426 } // namespace WebCore |
| 427 | 427 |
| 428 #endif // RenderView_h | 428 #endif // RenderView_h |
| OLD | NEW |