OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the HTML widget for KDE. | 2 * This file is part of the HTML widget for KDE. |
3 * | 3 * |
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
5 * Copyright (C) 2006 Apple Computer, Inc. | 5 * Copyright (C) 2006 Apple Computer, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos); | 77 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos); |
78 void clearSelection(); | 78 void clearSelection(); |
79 virtual RenderObject* selectionStart() const { return m_selectionStart; } | 79 virtual RenderObject* selectionStart() const { return m_selectionStart; } |
80 virtual RenderObject* selectionEnd() const { return m_selectionEnd; } | 80 virtual RenderObject* selectionEnd() const { return m_selectionEnd; } |
81 | 81 |
82 bool printing() const; | 82 bool printing() const; |
83 void setPrintImages(bool enable) { m_printImages = enable; } | 83 void setPrintImages(bool enable) { m_printImages = enable; } |
84 bool printImages() const { return m_printImages; } | 84 bool printImages() const { return m_printImages; } |
85 void setTruncatedAt(int y) { m_truncatedAt = y; m_bestTruncatedAt = m_trunca
torWidth = 0; m_forcedPageBreak = false; } | 85 void setTruncatedAt(int y) { m_truncatedAt = y; m_bestTruncatedAt = m_trunca
torWidth = 0; m_forcedPageBreak = false; } |
86 void setBestTruncatedAt(int y, RenderBox* forRenderer, bool forcedBreak = fa
lse); | 86 void setBestTruncatedAt(int y, RenderBoxModelObject* forRenderer, bool force
dBreak = false); |
87 int bestTruncatedAt() const { return m_bestTruncatedAt; } | 87 int bestTruncatedAt() const { return m_bestTruncatedAt; } |
88 | 88 |
89 int truncatedAt() const { return m_truncatedAt; } | 89 int truncatedAt() const { return m_truncatedAt; } |
90 | 90 |
91 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel =
true); | 91 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel =
true); |
92 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); | 92 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); |
93 | 93 |
94 IntRect selectionBounds(bool clipToVisibleContent = true) const; | 94 IntRect selectionBounds(bool clipToVisibleContent = true) const; |
95 | 95 |
96 #if USE(ACCELERATED_COMPOSITING) | 96 #if USE(ACCELERATED_COMPOSITING) |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 RenderView* m_view; | 274 RenderView* m_view; |
275 bool m_disabled : 1; // true if the offset and clip part of layoutSta
te is disabled | 275 bool m_disabled : 1; // true if the offset and clip part of layoutSta
te is disabled |
276 bool m_didStart : 1; // true if we did a push or disable | 276 bool m_didStart : 1; // true if we did a push or disable |
277 bool m_didEnd : 1; // true if we popped or re-enabled | 277 bool m_didEnd : 1; // true if we popped or re-enabled |
278 }; | 278 }; |
279 | 279 |
280 } // namespace WebCore | 280 } // namespace WebCore |
281 | 281 |
282 #endif // RenderView_h | 282 #endif // RenderView_h |
283 | 283 |
OLD | NEW |