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 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. | 62 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. |
63 int viewHeight() const; | 63 int viewHeight() const; |
64 int viewWidth() const; | 64 int viewWidth() const; |
65 int viewLogicalWidth() const { return viewWidth(); } | 65 int viewLogicalWidth() const { return viewWidth(); } |
66 int viewLogicalHeight() const; | 66 int viewLogicalHeight() const; |
67 LayoutUnit viewLogicalHeightForPercentages() const; | 67 LayoutUnit viewLogicalHeightForPercentages() const; |
68 | 68 |
69 FrameView* frameView() const { return m_frameView; } | 69 FrameView* frameView() const { return m_frameView; } |
70 | 70 |
71 virtual void paint(PaintInfo&, const LayoutPoint&) override; | 71 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override; |
72 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; | 72 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; |
73 | 73 |
74 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP
os); | 74 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP
os); |
75 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; | 75 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; |
76 void clearSelection(); | 76 void clearSelection(); |
77 RenderObject* selectionStart() const { return m_selectionStart; } | 77 RenderObject* selectionStart() const { return m_selectionStart; } |
78 RenderObject* selectionEnd() const { return m_selectionEnd; } | 78 RenderObject* selectionEnd() const { return m_selectionEnd; } |
79 void selectionStartEnd(int& startPos, int& endPos) const; | 79 void selectionStartEnd(int& startPos, int& endPos) const; |
80 | 80 |
81 virtual void absoluteQuads(Vector<FloatQuad>&) const override; | 81 virtual void absoluteQuads(Vector<FloatQuad>&) const override; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 unsigned m_hitTestCount; | 134 unsigned m_hitTestCount; |
135 | 135 |
136 WTF::HashSet<RenderIFrame*> m_iframes; | 136 WTF::HashSet<RenderIFrame*> m_iframes; |
137 }; | 137 }; |
138 | 138 |
139 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); | 139 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |
140 | 140 |
141 } // namespace blink | 141 } // namespace blink |
142 | 142 |
143 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ | 143 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ |
OLD | NEW |