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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 int viewLogicalHeight() const; | 75 int viewLogicalHeight() const; |
76 LayoutUnit viewLogicalHeightForPercentages() const; | 76 LayoutUnit viewLogicalHeightForPercentages() const; |
77 | 77 |
78 float zoomFactor() const; | 78 float zoomFactor() const; |
79 | 79 |
80 FrameView* frameView() const { return m_frameView; } | 80 FrameView* frameView() const { return m_frameView; } |
81 | 81 |
82 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false, const PaintInvalid
ationState* = 0) const OVERRIDE; | 82 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false, const PaintInvalid
ationState* = 0) const OVERRIDE; |
83 void repaintViewRectangle(const LayoutRect&) const; | 83 void repaintViewRectangle(const LayoutRect&) const; |
| 84 LayoutRect rectForPaintInvalidation(const LayoutRect* repaintRectPtr = 0) co
nst; |
84 | 85 |
85 void repaintViewAndCompositedLayers(); | 86 void repaintViewAndCompositedLayers(); |
86 | 87 |
87 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; | 88 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
88 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OV
ERRIDE; | 89 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OV
ERRIDE; |
89 | 90 |
90 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot
hing }; | 91 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot
hing }; |
91 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos, SelectionRepaintMode = RepaintNewXOROld); | 92 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos, SelectionRepaintMode = RepaintNewXOROld); |
92 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; | 93 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; |
93 void clearSelection(); | 94 void clearSelection(); |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 228 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
228 } | 229 } |
229 private: | 230 private: |
230 const PaintInvalidationState* m_paintInvalidationState; | 231 const PaintInvalidationState* m_paintInvalidationState; |
231 bool m_didDisable; | 232 bool m_didDisable; |
232 }; | 233 }; |
233 | 234 |
234 } // namespace WebCore | 235 } // namespace WebCore |
235 | 236 |
236 #endif // RenderView_h | 237 #endif // RenderView_h |
OLD | NEW |