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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 { | 68 { |
69 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars)
: viewHeight(ExcludeScrollbars); | 69 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars)
: viewHeight(ExcludeScrollbars); |
70 } | 70 } |
71 int viewLogicalHeight() const; | 71 int viewLogicalHeight() const; |
72 LayoutUnit viewLogicalHeightForPercentages() const; | 72 LayoutUnit viewLogicalHeightForPercentages() const; |
73 | 73 |
74 float zoomFactor() const; | 74 float zoomFactor() const; |
75 | 75 |
76 FrameView* frameView() const { return m_frameView; } | 76 FrameView* frameView() const { return m_frameView; } |
77 | 77 |
78 virtual void mapRectToRepaintBacking(const RenderLayerModelObject* repaintCo
ntainer, LayoutRect&, bool fixed = false) const OVERRIDE; | 78 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false) const OVERRIDE; |
79 void repaintViewRectangle(const LayoutRect&) const; | 79 void repaintViewRectangle(const LayoutRect&) const; |
80 | 80 |
81 void repaintViewAndCompositedLayers(); | 81 void repaintViewAndCompositedLayers(); |
82 | 82 |
83 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; | 83 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
84 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE; | 84 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE; |
85 | 85 |
86 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot
hing }; | 86 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot
hing }; |
87 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos, SelectionRepaintMode = RepaintNewXOROld); | 87 void setSelection(RenderObject* start, int startPos, RenderObject* end, int
endPos, SelectionRepaintMode = RepaintNewXOROld); |
88 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; | 88 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 { | 379 { |
380 m_view.enableLayoutState(); | 380 m_view.enableLayoutState(); |
381 } | 381 } |
382 private: | 382 private: |
383 RenderView& m_view; | 383 RenderView& m_view; |
384 }; | 384 }; |
385 | 385 |
386 } // namespace WebCore | 386 } // namespace WebCore |
387 | 387 |
388 #endif // RenderView_h | 388 #endif // RenderView_h |
OLD | NEW |