| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; | 54 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; |
| 55 | 55 |
| 56 virtual void layout() override; | 56 virtual void layout() override; |
| 57 virtual void updateLogicalWidth() override; | 57 virtual void updateLogicalWidth() override; |
| 58 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 58 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
| 59 | 59 |
| 60 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; | 60 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; |
| 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(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 63 int viewHeight() const; |
| 64 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 64 int viewWidth() const; |
| 65 int viewLogicalWidth() const | 65 int viewLogicalWidth() const { return viewWidth(); } |
| 66 { | |
| 67 return viewWidth(ExcludeScrollbars); | |
| 68 } | |
| 69 int viewLogicalHeight() const; | 66 int viewLogicalHeight() const; |
| 70 LayoutUnit viewLogicalHeightForPercentages() const; | 67 LayoutUnit viewLogicalHeightForPercentages() const; |
| 71 | 68 |
| 72 FrameView* frameView() const { return m_frameView; } | 69 FrameView* frameView() const { return m_frameView; } |
| 73 | 70 |
| 74 virtual void paint(PaintInfo&, const LayoutPoint&) override; | 71 virtual void paint(PaintInfo&, const LayoutPoint&) override; |
| 75 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; | 72 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) ov
erride; |
| 76 | 73 |
| 77 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP
os); | 74 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP
os); |
| 78 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; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 unsigned m_hitTestCount; | 134 unsigned m_hitTestCount; |
| 138 | 135 |
| 139 WTF::HashSet<RenderIFrame*> m_iframes; | 136 WTF::HashSet<RenderIFrame*> m_iframes; |
| 140 }; | 137 }; |
| 141 | 138 |
| 142 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); | 139 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |
| 143 | 140 |
| 144 } // namespace blink | 141 } // namespace blink |
| 145 | 142 |
| 146 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ | 143 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ |
| OLD | NEW |