| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE; | 88 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE; |
| 89 | 89 |
| 90 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot
hing }; | 90 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot
hing }; |
| 91 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos, SelectionRepaintMode = RepaintNewXOROld); | 91 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; | 92 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; |
| 93 void clearSelection(); | 93 void clearSelection(); |
| 94 RenderObject* selectionStart() const { return m_selectionStart; } | 94 RenderObject* selectionStart() const { return m_selectionStart; } |
| 95 RenderObject* selectionEnd() const { return m_selectionEnd; } | 95 RenderObject* selectionEnd() const { return m_selectionEnd; } |
| 96 IntRect selectionBounds(bool clipToVisibleContent = true) const; | 96 IntRect selectionBounds(bool clipToVisibleContent = true) const; |
| 97 void selectionStartEnd(int& startPos, int& endPos) const; | 97 void selectionStartEnd(int& startPos, int& endPos) const; |
| 98 void repaintSelection() const; |
| 98 | 99 |
| 99 bool printing() const; | 100 bool printing() const; |
| 100 | 101 |
| 101 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const; | 102 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const; |
| 102 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const; | 103 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const; |
| 103 | 104 |
| 104 #if USE(ACCELERATED_COMPOSITING) | 105 #if USE(ACCELERATED_COMPOSITING) |
| 105 void setMaximalOutlineSize(int o); | 106 void setMaximalOutlineSize(int o); |
| 106 #else | 107 #else |
| 107 void setMaximalOutlineSize(int o) { m_maximalOutlineSize = o; } | 108 void setMaximalOutlineSize(int o) { m_maximalOutlineSize = o; } |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 if (m_view) | 437 if (m_view) |
| 437 m_view->enableLayoutState(); | 438 m_view->enableLayoutState(); |
| 438 } | 439 } |
| 439 private: | 440 private: |
| 440 RenderView* m_view; | 441 RenderView* m_view; |
| 441 }; | 442 }; |
| 442 | 443 |
| 443 } // namespace WebCore | 444 } // namespace WebCore |
| 444 | 445 |
| 445 #endif // RenderView_h | 446 #endif // RenderView_h |
| OLD | NEW |