| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual void paint(PaintInfo&, const LayoutPoint&) override; | 75 virtual void paint(PaintInfo&, const LayoutPoint&) override; |
| 76 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; | 76 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; |
| 77 | 77 |
| 78 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP
os); | 78 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP
os); |
| 79 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; | 79 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje
ct*& endRenderer, int& endOffset) const; |
| 80 void clearSelection(); | 80 void clearSelection(); |
| 81 RenderObject* selectionStart() const { return m_selectionStart; } | 81 RenderObject* selectionStart() const { return m_selectionStart; } |
| 82 RenderObject* selectionEnd() const { return m_selectionEnd; } | 82 RenderObject* selectionEnd() const { return m_selectionEnd; } |
| 83 void selectionStartEnd(int& startPos, int& endPos) const; | 83 void selectionStartEnd(int& startPos, int& endPos) const; |
| 84 | 84 |
| 85 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const override; | |
| 86 virtual void absoluteQuads(Vector<FloatQuad>&) const override; | 85 virtual void absoluteQuads(Vector<FloatQuad>&) const override; |
| 87 | 86 |
| 88 virtual LayoutRect viewRect() const override; | 87 virtual LayoutRect viewRect() const override; |
| 89 | 88 |
| 90 LayoutState* layoutState() const { return m_layoutState; } | 89 LayoutState* layoutState() const { return m_layoutState; } |
| 91 | 90 |
| 92 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid
e; | 91 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid
e; |
| 93 | 92 |
| 94 IntRect unscaledDocumentRect() const; | 93 IntRect unscaledDocumentRect() const; |
| 95 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const; | 94 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 unsigned m_hitTestCount; | 138 unsigned m_hitTestCount; |
| 140 | 139 |
| 141 WTF::HashSet<RenderIFrame*> m_iframes; | 140 WTF::HashSet<RenderIFrame*> m_iframes; |
| 142 }; | 141 }; |
| 143 | 142 |
| 144 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); | 143 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |
| 145 | 144 |
| 146 } // namespace blink | 145 } // namespace blink |
| 147 | 146 |
| 148 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ | 147 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ |
| OLD | NEW |